[CI Skip] 0.30.10

This commit is contained in:
Travis CI
2018-10-02 09:34:37 +00:00
parent 48e57f9a55
commit e4805c2b8d
212 changed files with 25280 additions and 383 deletions
+6
View File
@@ -0,0 +1,6 @@
@polkadot/types
===============
Implementation of the types and their serialisation via parity-codec
+151
View File
@@ -0,0 +1,151 @@
* ["AccountId"](modules/_accountid_.md)
* [AccountId](classes/_accountid_.accountid.md)
* ["AccountIndex"](modules/_accountindex_.md)
* [AccountIndex](classes/_accountindex_.accountindex.md)
* ["Address"](modules/_address_.md)
* [Address](classes/_address_.address.md)
* ["AuthorityId"](modules/_authorityid_.md)
* [AuthorityId](classes/_authorityid_.authorityid.md)
* ["Balance"](modules/_balance_.md)
* [Balance](classes/_balance_.balance.md)
* ["Bft"](modules/_bft_.md)
* [BftAuthoritySignature](classes/_bft_.bftauthoritysignature.md)
* [BftHashSignature](classes/_bft_.bfthashsignature.md)
* [Justification](classes/_bft_.justification.md)
* ["Block"](modules/_block_.md)
* [Block](classes/_block_.block.md)
* ["BlockNumber"](modules/_blocknumber_.md)
* [BlockNumber](classes/_blocknumber_.blocknumber.md)
* ["Bool"](modules/_bool_.md)
* [Bool](classes/_bool_.bool.md)
* ["Bytes"](modules/_bytes_.md)
* [Bytes](classes/_bytes_.bytes.md)
* ["Extrinsic"](modules/_extrinsic_.md)
* [Extrinsic](classes/_extrinsic_.extrinsic.md)
* ["Extrinsics"](modules/_extrinsics_.md)
* [Extrinsics](classes/_extrinsics_.extrinsics.md)
* ["Gas"](modules/_gas_.md)
* [Gas](classes/_gas_.gas.md)
* ["H256"](modules/_h256_.md)
* [H256](classes/_h256_.h256.md)
* ["H512"](modules/_h512_.md)
* [H512](classes/_h512_.h512.md)
* ["Hash"](modules/_hash_.md)
* [Hash](classes/_hash_.hash.md)
* ["Header"](modules/_header_.md)
* [Digest](classes/_header_.digest.md)
* [Header](classes/_header_.header.md)
* ["KeyValue"](modules/_keyvalue_.md)
* [KeyValue](classes/_keyvalue_.keyvalue.md)
* [KeyValueOption](classes/_keyvalue_.keyvalueoption.md)
* ["Metadata"](modules/_metadata_.md)
* [CallMetadata](classes/_metadata_.callmetadata.md)
* [EventMetadata](classes/_metadata_.eventmetadata.md)
* [FunctionArgumentMetadata](classes/_metadata_.functionargumentmetadata.md)
* [FunctionMetadata](classes/_metadata_.functionmetadata.md)
* [ModuleMetadata](classes/_metadata_.modulemetadata.md)
* [OuterEventMetadata](classes/_metadata_.outereventmetadata.md)
* [OuterEventMetadataEvent](classes/_metadata_.outereventmetadataevent.md)
* [RuntimeMetadata](classes/_metadata_.runtimemetadata.md)
* [RuntimeModuleMetadata](classes/_metadata_.runtimemodulemetadata.md)
* [StorageFunctionMetadata](classes/_metadata_.storagefunctionmetadata.md)
* [StorageFunctionModifier](classes/_metadata_.storagefunctionmodifier.md)
* [StorageFunctionType](classes/_metadata_.storagefunctiontype.md)
* [StorageFunctionType$Map](classes/_metadata_.storagefunctiontype_map.md)
* [StorageMetadata](classes/_metadata_.storagemetadata.md)
* ["Metadata.rpc"](modules/_metadata_rpc_.md)
* ["MisbehaviorReport"](modules/_misbehaviorreport_.md)
* [BftAtReport](classes/_misbehaviorreport_.bftatreport.md)
* [BftDoubleCommit](classes/_misbehaviorreport_.bftdoublecommit.md)
* [BftDoublePrepare](classes/_misbehaviorreport_.bftdoubleprepare.md)
* [MisbehaviorKind](classes/_misbehaviorreport_.misbehaviorkind.md)
* [MisbehaviorReport](classes/_misbehaviorreport_.misbehaviorreport.md)
* ["Moment"](modules/_moment_.md)
* [Moment](classes/_moment_.moment.md)
* ["NewAccountOutcome"](modules/_newaccountoutcome_.md)
* [NewAccountOutcome](classes/_newaccountoutcome_.newaccountoutcome.md)
* ["Nonce"](modules/_nonce_.md)
* [Index](classes/_nonce_.index.md)
* ["Origin"](modules/_origin_.md)
* [Origin](classes/_origin_.origin.md)
* ["ParachainId"](modules/_parachainid_.md)
* [ParachainId](classes/_parachainid_.parachainid.md)
* ["PendingExtrinsics"](modules/_pendingextrinsics_.md)
* [PendingExtrinsics](classes/_pendingextrinsics_.pendingextrinsics.md)
* ["Perbill"](modules/_perbill_.md)
* [Perbill](classes/_perbill_.perbill.md)
* ["Permill"](modules/_permill_.md)
* [Permill](classes/_permill_.permill.md)
* ["PropIndex"](modules/_propindex_.md)
* [PropIndex](classes/_propindex_.propindex.md)
* ["Proposal"](modules/_proposal_.md)
* [Proposal](classes/_proposal_.proposal.md)
* ["ProposalIndex"](modules/_proposalindex_.md)
* [ProposalIndex](classes/_proposalindex_.proposalindex.md)
* ["RawAddress"](modules/_rawaddress_.md)
* [RawAddress](classes/_rawaddress_.rawaddress.md)
* ["ReferendumIndex"](modules/_referendumindex_.md)
* [ReferendumIndex](classes/_referendumindex_.referendumindex.md)
* ["RuntimeVersion"](modules/_runtimeversion_.md)
* [RuntimeVersion](classes/_runtimeversion_.runtimeversion.md)
* ["Signature"](modules/_signature_.md)
* [Signature](classes/_signature_.signature.md)
* ["SignedBlock"](modules/_signedblock_.md)
* [SignedBlock](classes/_signedblock_.signedblock.md)
* ["StorageChangeSet"](modules/_storagechangeset_.md)
* [StorageChangeSet](classes/_storagechangeset_.storagechangeset.md)
* ["StorageData"](modules/_storagedata_.md)
* [StorageData](classes/_storagedata_.storagedata.md)
* ["StorageKey"](modules/_storagekey_.md)
* [StorageKey](classes/_storagekey_.storagekey.md)
* [StorageFunction](interfaces/_storagekey_.storagefunction.md)
* ["Text"](modules/_text_.md)
* [Text](classes/_text_.text.md)
* ["Type"](modules/_type_.md)
* [Type](classes/_type_.type.md)
* ["U128"](modules/_u128_.md)
* [U128](classes/_u128_.u128.md)
* ["U16"](modules/_u16_.md)
* [U16](classes/_u16_.u16.md)
* ["U256"](modules/_u256_.md)
* [U256](classes/_u256_.u256.md)
* ["U32"](modules/_u32_.md)
* [U32](classes/_u32_.u32.md)
* ["U64"](modules/_u64_.md)
* [U64](classes/_u64_.u64.md)
* ["U8"](modules/_u8_.md)
* [U8](classes/_u8_.u8.md)
* ["ValidatorPrefs"](modules/_validatorprefs_.md)
* [ValidatorPrefs](classes/_validatorprefs_.validatorprefs.md)
* ["VoteIndex"](modules/_voteindex_.md)
* [VoteIndex](classes/_voteindex_.voteindex.md)
* ["VoteThreshold"](modules/_votethreshold_.md)
* [VoteThreshold](classes/_votethreshold_.votethreshold.md)
* ["codec/Base"](modules/_codec_base_.md)
* [Base](classes/_codec_base_.base.md)
* ["codec/Compact"](modules/_codec_compact_.md)
* [Compact](classes/_codec_compact_.compact.md)
* ["codec/Enum"](modules/_codec_enum_.md)
* [Enum](classes/_codec_enum_.enum.md)
* ["codec/EnumType"](modules/_codec_enumtype_.md)
* [EnumType](classes/_codec_enumtype_.enumtype.md)
* ["codec/Length"](modules/_codec_length_.md)
* [Length](classes/_codec_length_.length.md)
* ["codec/Option"](modules/_codec_option_.md)
* [Option](classes/_codec_option_.option.md)
* ["codec/Struct"](modules/_codec_struct_.md)
* [Struct](classes/_codec_struct_.struct.md)
* ["codec/Tuple"](modules/_codec_tuple_.md)
* [Tuple](classes/_codec_tuple_.tuple.md)
* ["codec/U8a"](modules/_codec_u8a_.md)
* [U8a](classes/_codec_u8a_.u8a.md)
* ["codec/U8aFixed"](modules/_codec_u8afixed_.md)
* [U8aFixed](classes/_codec_u8afixed_.u8afixed.md)
* ["codec/UInt"](modules/_codec_uint_.md)
* [UInt](classes/_codec_uint_.uint.md)
* ["codec/Vector"](modules/_codec_vector_.md)
* [Vector](classes/_codec_vector_.vector.md)
* ["codec/createType"](modules/_codec_createtype_.md)
* ["codec/index"](modules/_codec_index_.md)
* ["index"](modules/_index_.md)
* ["types.d"](modules/_types_d_.md)
+223
View File
@@ -0,0 +1,223 @@
# Hierarchy
↳ [U8aFixed](_codec_u8afixed_.u8afixed.md)
**↳ AccountId**
↳ [AuthorityId](_authorityid_.authorityid.md)
# Constructors
<a id="constructor"></a>
## constructor
⊕ **new AccountId**(value?: *[AnyU8a](../modules/_types_d_.md#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/48e57f9/packages/types/src/AccountId.ts#L20)*
**Parameters:**
| Param | Type | Default value |
| ------ | ------ | ------ |
| `Default value` value | [AnyU8a](../modules/_types_d_.md#anyu8a) | new Uint8Array() |
**Returns:** [AccountId](_accountid_.accountid.md)
___
# 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/48e57f9/packages/types/src/codec/U8aFixed.ts#L14)*
___
<a id="raw"></a>
## raw
**● raw**: *`Uint8Array`*
*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/48e57f9/packages/types/src/codec/Base.ts#L19)*
___
# Accessors
<a id="length"></a>
## length
getlength(): `number`
*Inherited from [U8a](_codec_u8a_.u8a.md).[length](_codec_u8a_.u8a.md#length)*
*Defined in [codec/U8a.ts:25](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/U8a.ts#L25)*
**Returns:** `number`
___
# Methods
<a id="bytelength"></a>
## byteLength
▸ **byteLength**(): `number`
*Inherited from [U8aFixed](_codec_u8afixed_.u8afixed.md).[byteLength](_codec_u8afixed_.u8afixed.md#bytelength)*
*Overrides [U8a](_codec_u8a_.u8a.md).[byteLength](_codec_u8a_.u8a.md#bytelength)*
*Defined in [codec/U8aFixed.ts:28](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/U8aFixed.ts#L28)*
**Returns:** `number`
___
<a id="fromjson"></a>
## fromJSON
▸ **fromJSON**(input: *`any`*): [AccountId](_accountid_.accountid.md)
*Overrides [U8aFixed](_codec_u8afixed_.u8afixed.md).[fromJSON](_codec_u8afixed_.u8afixed.md#fromjson)*
*Defined in [AccountId.ts:44](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/AccountId.ts#L44)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| input | `any` |
**Returns:** [AccountId](_accountid_.accountid.md)
___
<a id="fromu8a"></a>
## fromU8a
▸ **fromU8a**(input: *`Uint8Array`*): [AccountId](_accountid_.accountid.md)
*Overrides [U8aFixed](_codec_u8afixed_.u8afixed.md).[fromU8a](_codec_u8afixed_.u8afixed.md#fromu8a)*
*Defined in [AccountId.ts:50](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/AccountId.ts#L50)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| input | `Uint8Array` |
**Returns:** [AccountId](_accountid_.accountid.md)
___
<a id="tohex"></a>
## toHex
▸ **toHex**(): `string`
*Inherited from [U8a](_codec_u8a_.u8a.md).[toHex](_codec_u8a_.u8a.md#tohex)*
*Defined in [codec/U8a.ts:45](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/U8a.ts#L45)*
**Returns:** `string`
___
<a id="tojson"></a>
## toJSON
▸ **toJSON**(): `any`
*Overrides [U8a](_codec_u8a_.u8a.md).[toJSON](_codec_u8a_.u8a.md#tojson)*
*Defined in [AccountId.ts:56](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/AccountId.ts#L56)*
**Returns:** `any`
___
<a id="tostring"></a>
## toString
▸ **toString**(): `string`
*Overrides [U8a](_codec_u8a_.u8a.md).[toString](_codec_u8a_.u8a.md#tostring)*
*Defined in [AccountId.ts:60](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/AccountId.ts#L60)*
**Returns:** `string`
___
<a id="tou8a"></a>
## toU8a
▸ **toU8a**(isBare?: * `undefined` &#124; `false` &#124; `true`*): `Uint8Array`
*Inherited from [U8a](_codec_u8a_.u8a.md).[toU8a](_codec_u8a_.u8a.md#tou8a)*
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
*Defined in [codec/U8a.ts:53](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/U8a.ts#L53)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| `Optional` isBare | `undefined` &#124; `false` &#124; `true`|
**Returns:** `Uint8Array`
___
<a id="decode"></a>
## `<Static>` decode
▸ **decode**(value: * `string` &#124; `Uint8Array` &#124; `Array`<`number`>*): `Uint8Array`
*Defined in [AccountId.ts:34](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/AccountId.ts#L34)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| value | `string` &#124; `Uint8Array` &#124; `Array`<`number`>|
**Returns:** `Uint8Array`
___
<a id="encode"></a>
## `<Static>` encode
▸ **encode**(value: *`Uint8Array`*): `string`
*Defined in [AccountId.ts:30](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/AccountId.ts#L30)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| value | `Uint8Array` |
**Returns:** `string`
___
@@ -0,0 +1,210 @@
# Hierarchy
↳ [U8a](_codec_u8a_.u8a.md)
**↳ AccountIndex**
# Constructors
<a id="constructor"></a>
## constructor
⊕ **new AccountIndex**(value?: *[AnyU8a](../modules/_types_d_.md#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/48e57f9/packages/types/src/AccountIndex.ts#L15)*
**Parameters:**
| Param | Type | Default value |
| ------ | ------ | ------ |
| `Default value` value | [AnyU8a](../modules/_types_d_.md#anyu8a) | new Uint8Array() |
**Returns:** [AccountIndex](_accountindex_.accountindex.md)
___
# Properties
<a id="raw"></a>
## raw
**● raw**: *`Uint8Array`*
*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/48e57f9/packages/types/src/codec/Base.ts#L19)*
___
# Accessors
<a id="length"></a>
## length
getlength(): `number`
*Inherited from [U8a](_codec_u8a_.u8a.md).[length](_codec_u8a_.u8a.md#length)*
*Defined in [codec/U8a.ts:25](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/U8a.ts#L25)*
**Returns:** `number`
___
# Methods
<a id="bytelength"></a>
## byteLength
▸ **byteLength**(): `number`
*Inherited from [U8a](_codec_u8a_.u8a.md).[byteLength](_codec_u8a_.u8a.md#bytelength)*
*Overrides [Base](_codec_base_.base.md).[byteLength](_codec_base_.base.md#bytelength)*
*Defined in [codec/U8a.ts:29](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/U8a.ts#L29)*
**Returns:** `number`
___
<a id="fromjson"></a>
## fromJSON
▸ **fromJSON**(input: *`any`*): [AccountIndex](_accountindex_.accountindex.md)
*Overrides [U8a](_codec_u8a_.u8a.md).[fromJSON](_codec_u8a_.u8a.md#fromjson)*
*Defined in [AccountIndex.ts:34](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/AccountIndex.ts#L34)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| input | `any` |
**Returns:** [AccountIndex](_accountindex_.accountindex.md)
___
<a id="fromu8a"></a>
## fromU8a
▸ **fromU8a**(input: *`Uint8Array`*): [AccountIndex](_accountindex_.accountindex.md)
*Overrides [U8a](_codec_u8a_.u8a.md).[fromU8a](_codec_u8a_.u8a.md#fromu8a)*
*Defined in [AccountIndex.ts:43](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/AccountIndex.ts#L43)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| input | `Uint8Array` |
**Returns:** [AccountIndex](_accountindex_.accountindex.md)
___
<a id="tohex"></a>
## toHex
▸ **toHex**(): `string`
*Inherited from [U8a](_codec_u8a_.u8a.md).[toHex](_codec_u8a_.u8a.md#tohex)*
*Defined in [codec/U8a.ts:45](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/U8a.ts#L45)*
**Returns:** `string`
___
<a id="tojson"></a>
## toJSON
▸ **toJSON**(): `any`
*Overrides [U8a](_codec_u8a_.u8a.md).[toJSON](_codec_u8a_.u8a.md#tojson)*
*Defined in [AccountIndex.ts:49](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/AccountIndex.ts#L49)*
**Returns:** `any`
___
<a id="tostring"></a>
## toString
▸ **toString**(): `string`
*Overrides [U8a](_codec_u8a_.u8a.md).[toString](_codec_u8a_.u8a.md#tostring)*
*Defined in [AccountIndex.ts:53](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/AccountIndex.ts#L53)*
**Returns:** `string`
___
<a id="tou8a"></a>
## toU8a
▸ **toU8a**(isBare?: * `undefined` &#124; `false` &#124; `true`*): `Uint8Array`
*Inherited from [U8a](_codec_u8a_.u8a.md).[toU8a](_codec_u8a_.u8a.md#tou8a)*
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
*Defined in [codec/U8a.ts:53](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/U8a.ts#L53)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| `Optional` isBare | `undefined` &#124; `false` &#124; `true`|
**Returns:** `Uint8Array`
___
<a id="decode"></a>
## `<Static>` decode
▸ **decode**(value: * `string` &#124; `Uint8Array` &#124; `Array`<`number`>*): `Uint8Array`
*Defined in [AccountIndex.ts:30](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/AccountIndex.ts#L30)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| value | `string` &#124; `Uint8Array` &#124; `Array`<`number`>|
**Returns:** `Uint8Array`
___
<a id="encode"></a>
## `<Static>` encode
▸ **encode**(value: *`Uint8Array`*): `string`
*Defined in [AccountIndex.ts:26](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/AccountIndex.ts#L26)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| value | `Uint8Array` |
**Returns:** `string`
___
+197
View File
@@ -0,0 +1,197 @@
# Hierarchy
[Base](_codec_base_.base.md)< [AccountId](_accountid_.accountid.md) &#124; [AccountIndex](_accountindex_.accountindex.md)>
**↳ Address**
↳ [RawAddress](_rawaddress_.rawaddress.md)
# Constructors
<a id="constructor"></a>
## constructor
⊕ **new Address**(value?: * [Address](_address_.address.md) &#124; [AccountId](_accountid_.accountid.md) &#124; [AccountIndex](_accountindex_.accountindex.md) &#124; `string` &#124; `Uint8Array`*): [Address](_address_.address.md)
*Overrides [Base](_codec_base_.base.md).[constructor](_codec_base_.base.md#constructor)*
*Defined in [Address.ts:19](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/Address.ts#L19)*
**Parameters:**
| Param | Type | Default value |
| ------ | ------ | ------ |
| `Default value` value | [Address](_address_.address.md) &#124; [AccountId](_accountid_.accountid.md) &#124; [AccountIndex](_accountindex_.accountindex.md) &#124; `string` &#124; `Uint8Array`| new Uint8Array() |
**Returns:** [Address](_address_.address.md)
___
# Properties
<a id="raw"></a>
## raw
**● raw**: * [AccountId](_accountid_.accountid.md) &#124; [AccountIndex](_accountindex_.accountindex.md)
*
*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/48e57f9/packages/types/src/codec/Base.ts#L19)*
___
# Methods
<a id="bytelength"></a>
## byteLength
▸ **byteLength**(): `number`
*Overrides [Base](_codec_base_.base.md).[byteLength](_codec_base_.base.md#bytelength)*
*Defined in [Address.ts:86](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/Address.ts#L86)*
**Returns:** `number`
___
<a id="fromjson"></a>
## fromJSON
▸ **fromJSON**(input: *`any`*): [Address](_address_.address.md)
*Overrides [Base](_codec_base_.base.md).[fromJSON](_codec_base_.base.md#fromjson)*
*Defined in [Address.ts:90](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/Address.ts#L90)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| input | `any` |
**Returns:** [Address](_address_.address.md)
___
<a id="fromu8a"></a>
## fromU8a
▸ **fromU8a**(input: *`Uint8Array`*): [Address](_address_.address.md)
*Overrides [Base](_codec_base_.base.md).[fromU8a](_codec_base_.base.md#fromu8a)*
*Defined in [Address.ts:101](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/Address.ts#L101)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| input | `Uint8Array` |
**Returns:** [Address](_address_.address.md)
___
<a id="tojson"></a>
## toJSON
▸ **toJSON**(): `any`
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
*Defined in [Address.ts:109](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/Address.ts#L109)*
**Returns:** `any`
___
<a id="tostring"></a>
## toString
▸ **toString**(): `string`
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
*Defined in [Address.ts:113](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/Address.ts#L113)*
**Returns:** `string`
___
<a id="tou8a"></a>
## toU8a
▸ **toU8a**(isBare?: * `undefined` &#124; `false` &#124; `true`*): `Uint8Array`
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
*Defined in [Address.ts:117](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/Address.ts#L117)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| `Optional` isBare | `undefined` &#124; `false` &#124; `true`|
**Returns:** `Uint8Array`
___
<a id="decode"></a>
## `<Static>` decode
▸ **decode**(value: * [AccountId](_accountid_.accountid.md) &#124; [AccountIndex](_accountindex_.accountindex.md) &#124; `string` &#124; `Uint8Array` &#124; `Array`<`number`>*): [AccountId](_accountid_.accountid.md) &#124; [AccountIndex](_accountindex_.accountindex.md)
*Defined in [Address.ts:28](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/Address.ts#L28)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| value | [AccountId](_accountid_.accountid.md) &#124; [AccountIndex](_accountindex_.accountindex.md) &#124; `string` &#124; `Uint8Array` &#124; `Array`<`number`>|
**Returns:** [AccountId](_accountid_.accountid.md) &#124; [AccountIndex](_accountindex_.accountindex.md)
___
<a id="readlength"></a>
## `<Static>` readLength
▸ **readLength**(input: *`Uint8Array`*): `number`
*Defined in [Address.ts:52](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/Address.ts#L52)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| input | `Uint8Array` |
**Returns:** `number`
___
<a id="writelength"></a>
## `<Static>` writeLength
▸ **writeLength**(length: *`number`*): `Uint8Array`
*Defined in [Address.ts:70](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/Address.ts#L70)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| length | `number` |
**Returns:** `Uint8Array`
___
@@ -0,0 +1,235 @@
# Hierarchy
↳ [AccountId](_accountid_.accountid.md)
**↳ AuthorityId**
# Constructors
<a id="constructor"></a>
## constructor
⊕ **new AuthorityId**(value?: *[AnyU8a](../modules/_types_d_.md#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/48e57f9/packages/types/src/AccountId.ts#L20)*
**Parameters:**
| Param | Type | Default value |
| ------ | ------ | ------ |
| `Default value` value | [AnyU8a](../modules/_types_d_.md#anyu8a) | new Uint8Array() |
**Returns:** [AuthorityId](_authorityid_.authorityid.md)
___
# 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/48e57f9/packages/types/src/codec/U8aFixed.ts#L14)*
___
<a id="raw"></a>
## raw
**● raw**: *`Uint8Array`*
*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/48e57f9/packages/types/src/codec/Base.ts#L19)*
___
# Accessors
<a id="length"></a>
## length
getlength(): `number`
*Inherited from [U8a](_codec_u8a_.u8a.md).[length](_codec_u8a_.u8a.md#length)*
*Defined in [codec/U8a.ts:25](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/U8a.ts#L25)*
**Returns:** `number`
___
# Methods
<a id="bytelength"></a>
## byteLength
▸ **byteLength**(): `number`
*Inherited from [U8aFixed](_codec_u8afixed_.u8afixed.md).[byteLength](_codec_u8afixed_.u8afixed.md#bytelength)*
*Overrides [U8a](_codec_u8a_.u8a.md).[byteLength](_codec_u8a_.u8a.md#bytelength)*
*Defined in [codec/U8aFixed.ts:28](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/U8aFixed.ts#L28)*
**Returns:** `number`
___
<a id="fromjson"></a>
## fromJSON
▸ **fromJSON**(input: *`any`*): [AccountId](_accountid_.accountid.md)
*Inherited from [AccountId](_accountid_.accountid.md).[fromJSON](_accountid_.accountid.md#fromjson)*
*Overrides [U8aFixed](_codec_u8afixed_.u8afixed.md).[fromJSON](_codec_u8afixed_.u8afixed.md#fromjson)*
*Defined in [AccountId.ts:44](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/AccountId.ts#L44)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| input | `any` |
**Returns:** [AccountId](_accountid_.accountid.md)
___
<a id="fromu8a"></a>
## fromU8a
▸ **fromU8a**(input: *`Uint8Array`*): [AccountId](_accountid_.accountid.md)
*Inherited from [AccountId](_accountid_.accountid.md).[fromU8a](_accountid_.accountid.md#fromu8a)*
*Overrides [U8aFixed](_codec_u8afixed_.u8afixed.md).[fromU8a](_codec_u8afixed_.u8afixed.md#fromu8a)*
*Defined in [AccountId.ts:50](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/AccountId.ts#L50)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| input | `Uint8Array` |
**Returns:** [AccountId](_accountid_.accountid.md)
___
<a id="tohex"></a>
## toHex
▸ **toHex**(): `string`
*Inherited from [U8a](_codec_u8a_.u8a.md).[toHex](_codec_u8a_.u8a.md#tohex)*
*Defined in [codec/U8a.ts:45](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/U8a.ts#L45)*
**Returns:** `string`
___
<a id="tojson"></a>
## toJSON
▸ **toJSON**(): `any`
*Inherited from [AccountId](_accountid_.accountid.md).[toJSON](_accountid_.accountid.md#tojson)*
*Overrides [U8a](_codec_u8a_.u8a.md).[toJSON](_codec_u8a_.u8a.md#tojson)*
*Defined in [AccountId.ts:56](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/AccountId.ts#L56)*
**Returns:** `any`
___
<a id="tostring"></a>
## toString
▸ **toString**(): `string`
*Inherited from [AccountId](_accountid_.accountid.md).[toString](_accountid_.accountid.md#tostring)*
*Overrides [U8a](_codec_u8a_.u8a.md).[toString](_codec_u8a_.u8a.md#tostring)*
*Defined in [AccountId.ts:60](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/AccountId.ts#L60)*
**Returns:** `string`
___
<a id="tou8a"></a>
## toU8a
▸ **toU8a**(isBare?: * `undefined` &#124; `false` &#124; `true`*): `Uint8Array`
*Inherited from [U8a](_codec_u8a_.u8a.md).[toU8a](_codec_u8a_.u8a.md#tou8a)*
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
*Defined in [codec/U8a.ts:53](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/U8a.ts#L53)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| `Optional` isBare | `undefined` &#124; `false` &#124; `true`|
**Returns:** `Uint8Array`
___
<a id="decode"></a>
## `<Static>` decode
▸ **decode**(value: * `string` &#124; `Uint8Array` &#124; `Array`<`number`>*): `Uint8Array`
*Inherited from [AccountId](_accountid_.accountid.md).[decode](_accountid_.accountid.md#decode)*
*Defined in [AccountId.ts:34](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/AccountId.ts#L34)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| value | `string` &#124; `Uint8Array` &#124; `Array`<`number`>|
**Returns:** `Uint8Array`
___
<a id="encode"></a>
## `<Static>` encode
▸ **encode**(value: *`Uint8Array`*): `string`
*Inherited from [AccountId](_accountid_.accountid.md).[encode](_accountid_.accountid.md#encode)*
*Defined in [AccountId.ts:30](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/AccountId.ts#L30)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| value | `Uint8Array` |
**Returns:** `string`
___
+399
View File
@@ -0,0 +1,399 @@
# Hierarchy
↳ [U128](_u128_.u128.md)
**↳ Balance**
# Constructors
<a id="constructor"></a>
## constructor
⊕ **new Balance**(value?: *[AnyNumber](../modules/_types_d_.md#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/48e57f9/packages/types/src/U128.ts#L9)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| `Optional` value | [AnyNumber](../modules/_types_d_.md#anynumber) |
**Returns:** [Balance](_balance_.balance.md)
___
# Properties
<a id="raw"></a>
## raw
**● raw**: *`BN`*
*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/48e57f9/packages/types/src/codec/Base.ts#L19)*
___
# Methods
<a id="add"></a>
## add
▸ **add**(other: * [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`*): `BN`
*Inherited from [UInt](_codec_uint_.uint.md).[add](_codec_uint_.uint.md#add)*
*Defined in [codec/UInt.ts:95](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L95)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| other | [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`|
**Returns:** `BN`
___
<a id="bytelength"></a>
## byteLength
▸ **byteLength**(): `number`
*Inherited from [UInt](_codec_uint_.uint.md).[byteLength](_codec_uint_.uint.md#bytelength)*
*Overrides [Base](_codec_base_.base.md).[byteLength](_codec_base_.base.md#bytelength)*
*Defined in [codec/UInt.ts:53](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L53)*
**Returns:** `number`
___
<a id="cmp"></a>
## cmp
▸ **cmp**(other: * [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`*): `number`
*Inherited from [UInt](_codec_uint_.uint.md).[cmp](_codec_uint_.uint.md#cmp)*
*Defined in [codec/UInt.ts:101](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L101)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| other | [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`|
**Returns:** `number`
___
<a id="div"></a>
## div
▸ **div**(other: * [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`*): `BN`
*Inherited from [UInt](_codec_uint_.uint.md).[div](_codec_uint_.uint.md#div)*
*Defined in [codec/UInt.ts:107](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L107)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| other | [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`|
**Returns:** `BN`
___
<a id="fromjson"></a>
## fromJSON
▸ **fromJSON**(input: *`any`*): [UInt](_codec_uint_.uint.md)
*Inherited from [UInt](_codec_uint_.uint.md).[fromJSON](_codec_uint_.uint.md#fromjson)*
*Overrides [Base](_codec_base_.base.md).[fromJSON](_codec_base_.base.md#fromjson)*
*Defined in [codec/UInt.ts:57](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L57)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| input | `any` |
**Returns:** [UInt](_codec_uint_.uint.md)
___
<a id="fromu8a"></a>
## fromU8a
▸ **fromU8a**(input: *`Uint8Array`*): [UInt](_codec_uint_.uint.md)
*Inherited from [UInt](_codec_uint_.uint.md).[fromU8a](_codec_uint_.uint.md#fromu8a)*
*Overrides [Base](_codec_base_.base.md).[fromU8a](_codec_base_.base.md#fromu8a)*
*Defined in [codec/UInt.ts:63](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L63)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| input | `Uint8Array` |
**Returns:** [UInt](_codec_uint_.uint.md)
___
<a id="gt"></a>
## gt
▸ **gt**(test: * [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`*): `boolean`
*Inherited from [UInt](_codec_uint_.uint.md).[gt](_codec_uint_.uint.md#gt)*
*Defined in [codec/UInt.ts:129](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L129)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| test | [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`|
**Returns:** `boolean`
___
<a id="gte"></a>
## gte
▸ **gte**(test: * [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`*): `boolean`
*Inherited from [UInt](_codec_uint_.uint.md).[gte](_codec_uint_.uint.md#gte)*
*Defined in [codec/UInt.ts:135](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L135)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| test | [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`|
**Returns:** `boolean`
___
<a id="iszero"></a>
## isZero
▸ **isZero**(): `boolean`
*Inherited from [UInt](_codec_uint_.uint.md).[isZero](_codec_uint_.uint.md#iszero)*
*Defined in [codec/UInt.ts:113](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L113)*
**Returns:** `boolean`
___
<a id="lt"></a>
## lt
▸ **lt**(test: * [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`*): `boolean`
*Inherited from [UInt](_codec_uint_.uint.md).[lt](_codec_uint_.uint.md#lt)*
*Defined in [codec/UInt.ts:117](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L117)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| test | [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`|
**Returns:** `boolean`
___
<a id="lte"></a>
## lte
▸ **lte**(test: * [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`*): `boolean`
*Inherited from [UInt](_codec_uint_.uint.md).[lte](_codec_uint_.uint.md#lte)*
*Defined in [codec/UInt.ts:123](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L123)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| test | [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`|
**Returns:** `boolean`
___
<a id="mul"></a>
## mul
▸ **mul**(other: * [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`*): `BN`
*Inherited from [UInt](_codec_uint_.uint.md).[mul](_codec_uint_.uint.md#mul)*
*Defined in [codec/UInt.ts:141](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L141)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| other | [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`|
**Returns:** `BN`
___
<a id="sub"></a>
## sub
▸ **sub**(other: * [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`*): `BN`
*Inherited from [UInt](_codec_uint_.uint.md).[sub](_codec_uint_.uint.md#sub)*
*Defined in [codec/UInt.ts:147](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L147)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| other | [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`|
**Returns:** `BN`
___
<a id="tobn"></a>
## toBn
▸ **toBn**(): `BN`
*Inherited from [UInt](_codec_uint_.uint.md).[toBn](_codec_uint_.uint.md#tobn)*
*Defined in [codec/UInt.ts:85](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L85)*
**Returns:** `BN`
___
<a id="tohex"></a>
## toHex
▸ **toHex**(): `string`
*Inherited from [UInt](_codec_uint_.uint.md).[toHex](_codec_uint_.uint.md#tohex)*
*Defined in [codec/UInt.ts:69](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L69)*
**Returns:** `string`
___
<a id="tojson"></a>
## toJSON
▸ **toJSON**(): `any`
*Inherited from [UInt](_codec_uint_.uint.md).[toJSON](_codec_uint_.uint.md#tojson)*
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
*Defined in [codec/UInt.ts:73](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L73)*
**Returns:** `any`
___
<a id="tonumber"></a>
## toNumber
▸ **toNumber**(): `number`
*Inherited from [UInt](_codec_uint_.uint.md).[toNumber](_codec_uint_.uint.md#tonumber)*
*Defined in [codec/UInt.ts:89](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L89)*
**Returns:** `number`
___
<a id="tostring"></a>
## toString
▸ **toString**(): `string`
*Inherited from [UInt](_codec_uint_.uint.md).[toString](_codec_uint_.uint.md#tostring)*
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
*Defined in [codec/UInt.ts:81](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L81)*
**Returns:** `string`
___
<a id="tou8a"></a>
## toU8a
▸ **toU8a**(isBare?: * `undefined` &#124; `false` &#124; `true`*): `Uint8Array`
*Inherited from [UInt](_codec_uint_.uint.md).[toU8a](_codec_uint_.uint.md#tou8a)*
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
*Defined in [codec/UInt.ts:77](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L77)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| `Optional` isBare | `undefined` &#124; `false` &#124; `true`|
**Returns:** `Uint8Array`
___
<a id="decode"></a>
## `<Static>` decode
▸ **decode**(value: *[AnyNumber](../modules/_types_d_.md#anynumber)*): `BN`
*Inherited from [UInt](_codec_uint_.uint.md).[decode](_codec_uint_.uint.md#decode)*
*Defined in [codec/UInt.ts:38](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L38)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| value | [AnyNumber](../modules/_types_d_.md#anynumber) |
**Returns:** `BN`
___
@@ -0,0 +1,315 @@
# Type parameters
#### S
#### T
#### V
#### E
# Hierarchy
↳ [Tuple](_codec_tuple_.tuple.md)
**↳ BftAuthoritySignature**
# Constructors
<a id="constructor"></a>
## constructor
⊕ **new BftAuthoritySignature**(value?: *[BftAuthoritySignatureValue](../modules/_bft_.md#bftauthoritysignaturevalue)*): [BftAuthoritySignature](_bft_.bftauthoritysignature.md)
*Overrides [Tuple](_codec_tuple_.tuple.md).[constructor](_codec_tuple_.tuple.md#constructor)*
*Defined in [Bft.ts:22](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/Bft.ts#L22)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| `Optional` value | [BftAuthoritySignatureValue](../modules/_bft_.md#bftauthoritysignaturevalue) |
**Returns:** [BftAuthoritySignature](_bft_.bftauthoritysignature.md)
___
# 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:27](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L27)*
___
<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:26](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L26)*
___
<a id="raw"></a>
## raw
**● raw**: *`T`*
*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/48e57f9/packages/types/src/codec/Base.ts#L19)*
___
# Accessors
<a id="type"></a>
## Type
getType(): `E`
*Inherited from [Struct](_codec_struct_.struct.md).[Type](_codec_struct_.struct.md#type)*
*Defined in [codec/Struct.ts:76](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L76)*
**Returns:** `E`
___
<a id="authorityid"></a>
## authorityId
getauthorityId(): [AuthorityId](_authorityid_.authorityid.md)
*Defined in [Bft.ts:30](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/Bft.ts#L30)*
**Returns:** [AuthorityId](_authorityid_.authorityid.md)
___
<a id="signature"></a>
## signature
getsignature(): [Signature](_signature_.signature.md)
*Defined in [Bft.ts:34](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/Bft.ts#L34)*
**Returns:** [Signature](_signature_.signature.md)
___
# Methods
<a id="bytelength"></a>
## byteLength
▸ **byteLength**(): `number`
*Inherited from [Struct](_codec_struct_.struct.md).[byteLength](_codec_struct_.struct.md#bytelength)*
*Overrides [Base](_codec_base_.base.md).[byteLength](_codec_base_.base.md#bytelength)*
*Defined in [codec/Struct.ts:80](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L80)*
**Returns:** `number`
___
<a id="fromjson"></a>
## fromJSON
▸ **fromJSON**(input: *`any`*): [Tuple](_codec_tuple_.tuple.md)<`S`, `T`, `V`>
*Inherited from [Tuple](_codec_tuple_.tuple.md).[fromJSON](_codec_tuple_.tuple.md#fromjson)*
*Overrides [Struct](_codec_struct_.struct.md).[fromJSON](_codec_struct_.struct.md#fromjson)*
*Defined in [codec/Tuple.ts:34](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Tuple.ts#L34)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| input | `any` |
**Returns:** [Tuple](_codec_tuple_.tuple.md)<`S`, `T`, `V`>
___
<a id="fromu8a"></a>
## fromU8a
▸ **fromU8a**(input: *`Uint8Array`*): [Struct](_codec_struct_.struct.md)<`S`, `T`, `V`, `E`>
*Inherited from [Struct](_codec_struct_.struct.md).[fromU8a](_codec_struct_.struct.md#fromu8a)*
*Overrides [Base](_codec_base_.base.md).[fromU8a](_codec_base_.base.md#fromu8a)*
*Defined in [codec/Struct.ts:101](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L101)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| input | `Uint8Array` |
**Returns:** [Struct](_codec_struct_.struct.md)<`S`, `T`, `V`, `E`>
___
<a id="get"></a>
## get
▸ **get**(index: *`number`*): [Base](_codec_base_.base.md)
*Inherited from [Struct](_codec_struct_.struct.md).[get](_codec_struct_.struct.md#get)*
*Defined in [codec/Struct.ts:111](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L111)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| index | `number` |
**Returns:** [Base](_codec_base_.base.md)
___
<a id="keys"></a>
## keys
▸ **keys**(): `Array`<`string`>
*Inherited from [Struct](_codec_struct_.struct.md).[keys](_codec_struct_.struct.md#keys)*
*Defined in [codec/Struct.ts:126](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L126)*
**Returns:** `Array`<`string`>
___
<a id="tojson"></a>
## toJSON
▸ **toJSON**(): `any`
*Inherited from [Tuple](_codec_tuple_.tuple.md).[toJSON](_codec_tuple_.tuple.md#tojson)*
*Overrides [Struct](_codec_struct_.struct.md).[toJSON](_codec_struct_.struct.md#tojson)*
*Defined in [codec/Tuple.ts:46](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Tuple.ts#L46)*
**Returns:** `any`
___
<a id="tostring"></a>
## toString
▸ **toString**(): `string`
*Inherited from [Struct](_codec_struct_.struct.md).[toString](_codec_struct_.struct.md#tostring)*
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
*Defined in [codec/Struct.ts:138](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L138)*
**Returns:** `string`
___
<a id="tou8a"></a>
## toU8a
▸ **toU8a**(isBare?: * `undefined` &#124; `false` &#124; `true`*): `Uint8Array`
*Inherited from [Struct](_codec_struct_.struct.md).[toU8a](_codec_struct_.struct.md#tou8a)*
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
*Defined in [codec/Struct.ts:130](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L130)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| `Optional` isBare | `undefined` &#124; `false` &#124; `true`|
**Returns:** `Uint8Array`
___
<a id="values"></a>
## values
▸ **values**(): `Array`<[Base](_codec_base_.base.md)>
*Inherited from [Struct](_codec_struct_.struct.md).[values](_codec_struct_.struct.md#values)*
*Defined in [codec/Struct.ts:147](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L147)*
**Returns:** `Array`<[Base](_codec_base_.base.md)>
___
<a id="decode"></a>
## `<Static>` decode
▸ **decode**<`S`,`V`,`T`>(Types: *`S`*, value: * `V` &#124; `Array`<`any`>*, isTuple: *`boolean`*): `T`
*Inherited from [Struct](_codec_struct_.struct.md).[decode](_codec_struct_.struct.md#decode)*
*Defined in [codec/Struct.ts:45](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L45)*
**Type parameters:**
#### S
#### V
#### T
**Parameters:**
| Param | Type |
| ------ | ------ |
| Types | `S` |
| value | `V` &#124; `Array`<`any`>|
| isTuple | `boolean` |
**Returns:** `T`
___
<a id="with"></a>
## `<Static>` with
▸ **with**<`S`>(Types: *`S`*): `object`
*Inherited from [Tuple](_codec_tuple_.tuple.md).[with](_codec_tuple_.tuple.md#with)*
*Overrides [Struct](_codec_struct_.struct.md).[with](_codec_struct_.struct.md#with)*
*Defined in [codec/Tuple.ts:24](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Tuple.ts#L24)*
**Type parameters:**
#### S
**Parameters:**
| Param | Type |
| ------ | ------ |
| Types | `S` |
**Returns:** `object`
___
@@ -0,0 +1,315 @@
# Type parameters
#### S
#### T
#### V
#### E
# Hierarchy
↳ [Tuple](_codec_tuple_.tuple.md)
**↳ BftHashSignature**
# Constructors
<a id="constructor"></a>
## constructor
⊕ **new BftHashSignature**(value?: *[BftHashSignatureValue](../modules/_bft_.md#bfthashsignaturevalue)*): [BftHashSignature](_bft_.bfthashsignature.md)
*Overrides [Tuple](_codec_tuple_.tuple.md).[constructor](_codec_tuple_.tuple.md#constructor)*
*Defined in [Bft.ts:46](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/Bft.ts#L46)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| `Optional` value | [BftHashSignatureValue](../modules/_bft_.md#bfthashsignaturevalue) |
**Returns:** [BftHashSignature](_bft_.bfthashsignature.md)
___
# 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:27](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L27)*
___
<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:26](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L26)*
___
<a id="raw"></a>
## raw
**● raw**: *`T`*
*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/48e57f9/packages/types/src/codec/Base.ts#L19)*
___
# Accessors
<a id="type"></a>
## Type
getType(): `E`
*Inherited from [Struct](_codec_struct_.struct.md).[Type](_codec_struct_.struct.md#type)*
*Defined in [codec/Struct.ts:76](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L76)*
**Returns:** `E`
___
<a id="hash"></a>
## hash
gethash(): [Hash](_hash_.hash.md)
*Defined in [Bft.ts:54](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/Bft.ts#L54)*
**Returns:** [Hash](_hash_.hash.md)
___
<a id="signature"></a>
## signature
getsignature(): [Signature](_signature_.signature.md)
*Defined in [Bft.ts:58](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/Bft.ts#L58)*
**Returns:** [Signature](_signature_.signature.md)
___
# Methods
<a id="bytelength"></a>
## byteLength
▸ **byteLength**(): `number`
*Inherited from [Struct](_codec_struct_.struct.md).[byteLength](_codec_struct_.struct.md#bytelength)*
*Overrides [Base](_codec_base_.base.md).[byteLength](_codec_base_.base.md#bytelength)*
*Defined in [codec/Struct.ts:80](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L80)*
**Returns:** `number`
___
<a id="fromjson"></a>
## fromJSON
▸ **fromJSON**(input: *`any`*): [Tuple](_codec_tuple_.tuple.md)<`S`, `T`, `V`>
*Inherited from [Tuple](_codec_tuple_.tuple.md).[fromJSON](_codec_tuple_.tuple.md#fromjson)*
*Overrides [Struct](_codec_struct_.struct.md).[fromJSON](_codec_struct_.struct.md#fromjson)*
*Defined in [codec/Tuple.ts:34](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Tuple.ts#L34)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| input | `any` |
**Returns:** [Tuple](_codec_tuple_.tuple.md)<`S`, `T`, `V`>
___
<a id="fromu8a"></a>
## fromU8a
▸ **fromU8a**(input: *`Uint8Array`*): [Struct](_codec_struct_.struct.md)<`S`, `T`, `V`, `E`>
*Inherited from [Struct](_codec_struct_.struct.md).[fromU8a](_codec_struct_.struct.md#fromu8a)*
*Overrides [Base](_codec_base_.base.md).[fromU8a](_codec_base_.base.md#fromu8a)*
*Defined in [codec/Struct.ts:101](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L101)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| input | `Uint8Array` |
**Returns:** [Struct](_codec_struct_.struct.md)<`S`, `T`, `V`, `E`>
___
<a id="get"></a>
## get
▸ **get**(index: *`number`*): [Base](_codec_base_.base.md)
*Inherited from [Struct](_codec_struct_.struct.md).[get](_codec_struct_.struct.md#get)*
*Defined in [codec/Struct.ts:111](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L111)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| index | `number` |
**Returns:** [Base](_codec_base_.base.md)
___
<a id="keys"></a>
## keys
▸ **keys**(): `Array`<`string`>
*Inherited from [Struct](_codec_struct_.struct.md).[keys](_codec_struct_.struct.md#keys)*
*Defined in [codec/Struct.ts:126](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L126)*
**Returns:** `Array`<`string`>
___
<a id="tojson"></a>
## toJSON
▸ **toJSON**(): `any`
*Inherited from [Tuple](_codec_tuple_.tuple.md).[toJSON](_codec_tuple_.tuple.md#tojson)*
*Overrides [Struct](_codec_struct_.struct.md).[toJSON](_codec_struct_.struct.md#tojson)*
*Defined in [codec/Tuple.ts:46](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Tuple.ts#L46)*
**Returns:** `any`
___
<a id="tostring"></a>
## toString
▸ **toString**(): `string`
*Inherited from [Struct](_codec_struct_.struct.md).[toString](_codec_struct_.struct.md#tostring)*
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
*Defined in [codec/Struct.ts:138](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L138)*
**Returns:** `string`
___
<a id="tou8a"></a>
## toU8a
▸ **toU8a**(isBare?: * `undefined` &#124; `false` &#124; `true`*): `Uint8Array`
*Inherited from [Struct](_codec_struct_.struct.md).[toU8a](_codec_struct_.struct.md#tou8a)*
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
*Defined in [codec/Struct.ts:130](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L130)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| `Optional` isBare | `undefined` &#124; `false` &#124; `true`|
**Returns:** `Uint8Array`
___
<a id="values"></a>
## values
▸ **values**(): `Array`<[Base](_codec_base_.base.md)>
*Inherited from [Struct](_codec_struct_.struct.md).[values](_codec_struct_.struct.md#values)*
*Defined in [codec/Struct.ts:147](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L147)*
**Returns:** `Array`<[Base](_codec_base_.base.md)>
___
<a id="decode"></a>
## `<Static>` decode
▸ **decode**<`S`,`V`,`T`>(Types: *`S`*, value: * `V` &#124; `Array`<`any`>*, isTuple: *`boolean`*): `T`
*Inherited from [Struct](_codec_struct_.struct.md).[decode](_codec_struct_.struct.md#decode)*
*Defined in [codec/Struct.ts:45](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L45)*
**Type parameters:**
#### S
#### V
#### T
**Parameters:**
| Param | Type |
| ------ | ------ |
| Types | `S` |
| value | `V` &#124; `Array`<`any`>|
| isTuple | `boolean` |
**Returns:** `T`
___
<a id="with"></a>
## `<Static>` with
▸ **with**<`S`>(Types: *`S`*): `object`
*Inherited from [Tuple](_codec_tuple_.tuple.md).[with](_codec_tuple_.tuple.md#with)*
*Overrides [Struct](_codec_struct_.struct.md).[with](_codec_struct_.struct.md#with)*
*Defined in [codec/Tuple.ts:24](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Tuple.ts#L24)*
**Type parameters:**
#### S
**Parameters:**
| Param | Type |
| ------ | ------ |
| Types | `S` |
**Returns:** `object`
___
+324
View File
@@ -0,0 +1,324 @@
# Type parameters
#### S
#### T
#### V
#### E
# Hierarchy
↳ [Struct](_codec_struct_.struct.md)
**↳ Justification**
# Constructors
<a id="constructor"></a>
## constructor
⊕ **new Justification**(value?: *[JustificationValue](../modules/_bft_.md#justificationvalue)*): [Justification](_bft_.justification.md)
*Overrides [Struct](_codec_struct_.struct.md).[constructor](_codec_struct_.struct.md#constructor)*
*Defined in [Bft.ts:69](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/Bft.ts#L69)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| `Optional` value | [JustificationValue](../modules/_bft_.md#justificationvalue) |
**Returns:** [Justification](_bft_.justification.md)
___
# 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:27](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L27)*
___
<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:26](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L26)*
___
<a id="raw"></a>
## raw
**● raw**: *`T`*
*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/48e57f9/packages/types/src/codec/Base.ts#L19)*
___
# Accessors
<a id="type"></a>
## Type
getType(): `E`
*Inherited from [Struct](_codec_struct_.struct.md).[Type](_codec_struct_.struct.md#type)*
*Defined in [codec/Struct.ts:76](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L76)*
**Returns:** `E`
___
<a id="hash"></a>
## hash
gethash(): [Hash](_hash_.hash.md)
*Defined in [Bft.ts:80](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/Bft.ts#L80)*
**Returns:** [Hash](_hash_.hash.md)
___
<a id="round"></a>
## round
getround(): [U32](_u32_.u32.md)
*Defined in [Bft.ts:84](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/Bft.ts#L84)*
**Returns:** [U32](_u32_.u32.md)
___
<a id="signatures"></a>
## signatures
getsignatures(): [Vector](_codec_vector_.vector.md)<[BftAuthoritySignature](_bft_.bftauthoritysignature.md)>
*Defined in [Bft.ts:88](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/Bft.ts#L88)*
**Returns:** [Vector](_codec_vector_.vector.md)<[BftAuthoritySignature](_bft_.bftauthoritysignature.md)>
___
# Methods
<a id="bytelength"></a>
## byteLength
▸ **byteLength**(): `number`
*Inherited from [Struct](_codec_struct_.struct.md).[byteLength](_codec_struct_.struct.md#bytelength)*
*Overrides [Base](_codec_base_.base.md).[byteLength](_codec_base_.base.md#bytelength)*
*Defined in [codec/Struct.ts:80](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L80)*
**Returns:** `number`
___
<a id="fromjson"></a>
## fromJSON
▸ **fromJSON**(input: *`any`*): [Struct](_codec_struct_.struct.md)<`S`, `T`, `V`, `E`>
*Inherited from [Struct](_codec_struct_.struct.md).[fromJSON](_codec_struct_.struct.md#fromjson)*
*Overrides [Base](_codec_base_.base.md).[fromJSON](_codec_base_.base.md#fromjson)*
*Defined in [codec/Struct.ts:86](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L86)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| input | `any` |
**Returns:** [Struct](_codec_struct_.struct.md)<`S`, `T`, `V`, `E`>
___
<a id="fromu8a"></a>
## fromU8a
▸ **fromU8a**(input: *`Uint8Array`*): [Struct](_codec_struct_.struct.md)<`S`, `T`, `V`, `E`>
*Inherited from [Struct](_codec_struct_.struct.md).[fromU8a](_codec_struct_.struct.md#fromu8a)*
*Overrides [Base](_codec_base_.base.md).[fromU8a](_codec_base_.base.md#fromu8a)*
*Defined in [codec/Struct.ts:101](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L101)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| input | `Uint8Array` |
**Returns:** [Struct](_codec_struct_.struct.md)<`S`, `T`, `V`, `E`>
___
<a id="get"></a>
## get
▸ **get**(index: *`number`*): [Base](_codec_base_.base.md)
*Inherited from [Struct](_codec_struct_.struct.md).[get](_codec_struct_.struct.md#get)*
*Defined in [codec/Struct.ts:111](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L111)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| index | `number` |
**Returns:** [Base](_codec_base_.base.md)
___
<a id="keys"></a>
## keys
▸ **keys**(): `Array`<`string`>
*Inherited from [Struct](_codec_struct_.struct.md).[keys](_codec_struct_.struct.md#keys)*
*Defined in [codec/Struct.ts:126](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L126)*
**Returns:** `Array`<`string`>
___
<a id="tojson"></a>
## toJSON
▸ **toJSON**(): `any`
*Inherited from [Struct](_codec_struct_.struct.md).[toJSON](_codec_struct_.struct.md#tojson)*
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
*Defined in [codec/Struct.ts:115](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L115)*
**Returns:** `any`
___
<a id="tostring"></a>
## toString
▸ **toString**(): `string`
*Inherited from [Struct](_codec_struct_.struct.md).[toString](_codec_struct_.struct.md#tostring)*
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
*Defined in [codec/Struct.ts:138](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L138)*
**Returns:** `string`
___
<a id="tou8a"></a>
## toU8a
▸ **toU8a**(isBare?: * `undefined` &#124; `false` &#124; `true`*): `Uint8Array`
*Inherited from [Struct](_codec_struct_.struct.md).[toU8a](_codec_struct_.struct.md#tou8a)*
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
*Defined in [codec/Struct.ts:130](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L130)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| `Optional` isBare | `undefined` &#124; `false` &#124; `true`|
**Returns:** `Uint8Array`
___
<a id="values"></a>
## values
▸ **values**(): `Array`<[Base](_codec_base_.base.md)>
*Inherited from [Struct](_codec_struct_.struct.md).[values](_codec_struct_.struct.md#values)*
*Defined in [codec/Struct.ts:147](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L147)*
**Returns:** `Array`<[Base](_codec_base_.base.md)>
___
<a id="decode"></a>
## `<Static>` decode
▸ **decode**<`S`,`V`,`T`>(Types: *`S`*, value: * `V` &#124; `Array`<`any`>*, isTuple: *`boolean`*): `T`
*Inherited from [Struct](_codec_struct_.struct.md).[decode](_codec_struct_.struct.md#decode)*
*Defined in [codec/Struct.ts:45](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L45)*
**Type parameters:**
#### S
#### V
#### T
**Parameters:**
| Param | Type |
| ------ | ------ |
| Types | `S` |
| value | `V` &#124; `Array`<`any`>|
| isTuple | `boolean` |
**Returns:** `T`
___
<a id="with"></a>
## `<Static>` with
▸ **with**<`S`>(Types: *`S`*): `object`
*Inherited from [Struct](_codec_struct_.struct.md).[with](_codec_struct_.struct.md#with)*
*Defined in [codec/Struct.ts:66](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L66)*
**Type parameters:**
#### S
**Parameters:**
| Param | Type |
| ------ | ------ |
| Types | `S` |
**Returns:** `object`
___
+324
View File
@@ -0,0 +1,324 @@
# Type parameters
#### S
#### T
#### V
#### E
# Hierarchy
↳ [Struct](_codec_struct_.struct.md)
**↳ Block**
# Constructors
<a id="constructor"></a>
## constructor
⊕ **new Block**(value?: *[BlockValue](../modules/_block_.md#blockvalue)*): [Block](_block_.block.md)
*Overrides [Struct](_codec_struct_.struct.md).[constructor](_codec_struct_.struct.md#constructor)*
*Defined in [Block.ts:20](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/Block.ts#L20)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| `Optional` value | [BlockValue](../modules/_block_.md#blockvalue) |
**Returns:** [Block](_block_.block.md)
___
# 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:27](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L27)*
___
<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:26](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L26)*
___
<a id="raw"></a>
## raw
**● raw**: *`T`*
*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/48e57f9/packages/types/src/codec/Base.ts#L19)*
___
# Accessors
<a id="type"></a>
## Type
getType(): `E`
*Inherited from [Struct](_codec_struct_.struct.md).[Type](_codec_struct_.struct.md#type)*
*Defined in [codec/Struct.ts:76](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L76)*
**Returns:** `E`
___
<a id="extrinsics"></a>
## extrinsics
getextrinsics(): [Extrinsics](_extrinsics_.extrinsics.md)
*Defined in [Block.ts:28](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/Block.ts#L28)*
**Returns:** [Extrinsics](_extrinsics_.extrinsics.md)
___
<a id="hash"></a>
## hash
gethash(): [Hash](_hash_.hash.md)
*Defined in [Block.ts:33](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/Block.ts#L33)*
**Returns:** [Hash](_hash_.hash.md)
___
<a id="header"></a>
## header
getheader(): [Header](_header_.header.md)
*Defined in [Block.ts:39](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/Block.ts#L39)*
**Returns:** [Header](_header_.header.md)
___
# Methods
<a id="bytelength"></a>
## byteLength
▸ **byteLength**(): `number`
*Inherited from [Struct](_codec_struct_.struct.md).[byteLength](_codec_struct_.struct.md#bytelength)*
*Overrides [Base](_codec_base_.base.md).[byteLength](_codec_base_.base.md#bytelength)*
*Defined in [codec/Struct.ts:80](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L80)*
**Returns:** `number`
___
<a id="fromjson"></a>
## fromJSON
▸ **fromJSON**(input: *`any`*): [Struct](_codec_struct_.struct.md)<`S`, `T`, `V`, `E`>
*Inherited from [Struct](_codec_struct_.struct.md).[fromJSON](_codec_struct_.struct.md#fromjson)*
*Overrides [Base](_codec_base_.base.md).[fromJSON](_codec_base_.base.md#fromjson)*
*Defined in [codec/Struct.ts:86](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L86)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| input | `any` |
**Returns:** [Struct](_codec_struct_.struct.md)<`S`, `T`, `V`, `E`>
___
<a id="fromu8a"></a>
## fromU8a
▸ **fromU8a**(input: *`Uint8Array`*): [Struct](_codec_struct_.struct.md)<`S`, `T`, `V`, `E`>
*Inherited from [Struct](_codec_struct_.struct.md).[fromU8a](_codec_struct_.struct.md#fromu8a)*
*Overrides [Base](_codec_base_.base.md).[fromU8a](_codec_base_.base.md#fromu8a)*
*Defined in [codec/Struct.ts:101](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L101)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| input | `Uint8Array` |
**Returns:** [Struct](_codec_struct_.struct.md)<`S`, `T`, `V`, `E`>
___
<a id="get"></a>
## get
▸ **get**(index: *`number`*): [Base](_codec_base_.base.md)
*Inherited from [Struct](_codec_struct_.struct.md).[get](_codec_struct_.struct.md#get)*
*Defined in [codec/Struct.ts:111](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L111)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| index | `number` |
**Returns:** [Base](_codec_base_.base.md)
___
<a id="keys"></a>
## keys
▸ **keys**(): `Array`<`string`>
*Inherited from [Struct](_codec_struct_.struct.md).[keys](_codec_struct_.struct.md#keys)*
*Defined in [codec/Struct.ts:126](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L126)*
**Returns:** `Array`<`string`>
___
<a id="tojson"></a>
## toJSON
▸ **toJSON**(): `any`
*Inherited from [Struct](_codec_struct_.struct.md).[toJSON](_codec_struct_.struct.md#tojson)*
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
*Defined in [codec/Struct.ts:115](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L115)*
**Returns:** `any`
___
<a id="tostring"></a>
## toString
▸ **toString**(): `string`
*Inherited from [Struct](_codec_struct_.struct.md).[toString](_codec_struct_.struct.md#tostring)*
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
*Defined in [codec/Struct.ts:138](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L138)*
**Returns:** `string`
___
<a id="tou8a"></a>
## toU8a
▸ **toU8a**(isBare?: * `undefined` &#124; `false` &#124; `true`*): `Uint8Array`
*Inherited from [Struct](_codec_struct_.struct.md).[toU8a](_codec_struct_.struct.md#tou8a)*
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
*Defined in [codec/Struct.ts:130](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L130)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| `Optional` isBare | `undefined` &#124; `false` &#124; `true`|
**Returns:** `Uint8Array`
___
<a id="values"></a>
## values
▸ **values**(): `Array`<[Base](_codec_base_.base.md)>
*Inherited from [Struct](_codec_struct_.struct.md).[values](_codec_struct_.struct.md#values)*
*Defined in [codec/Struct.ts:147](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L147)*
**Returns:** `Array`<[Base](_codec_base_.base.md)>
___
<a id="decode"></a>
## `<Static>` decode
▸ **decode**<`S`,`V`,`T`>(Types: *`S`*, value: * `V` &#124; `Array`<`any`>*, isTuple: *`boolean`*): `T`
*Inherited from [Struct](_codec_struct_.struct.md).[decode](_codec_struct_.struct.md#decode)*
*Defined in [codec/Struct.ts:45](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L45)*
**Type parameters:**
#### S
#### V
#### T
**Parameters:**
| Param | Type |
| ------ | ------ |
| Types | `S` |
| value | `V` &#124; `Array`<`any`>|
| isTuple | `boolean` |
**Returns:** `T`
___
<a id="with"></a>
## `<Static>` with
▸ **with**<`S`>(Types: *`S`*): `object`
*Inherited from [Struct](_codec_struct_.struct.md).[with](_codec_struct_.struct.md#with)*
*Defined in [codec/Struct.ts:66](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L66)*
**Type parameters:**
#### S
**Parameters:**
| Param | Type |
| ------ | ------ |
| Types | `S` |
**Returns:** `object`
___
@@ -0,0 +1,399 @@
# Hierarchy
↳ [U64](_u64_.u64.md)
**↳ BlockNumber**
# Constructors
<a id="constructor"></a>
## constructor
⊕ **new BlockNumber**(value?: *[AnyNumber](../modules/_types_d_.md#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/48e57f9/packages/types/src/U64.ts#L9)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| `Optional` value | [AnyNumber](../modules/_types_d_.md#anynumber) |
**Returns:** [BlockNumber](_blocknumber_.blocknumber.md)
___
# Properties
<a id="raw"></a>
## raw
**● raw**: *`BN`*
*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/48e57f9/packages/types/src/codec/Base.ts#L19)*
___
# Methods
<a id="add"></a>
## add
▸ **add**(other: * [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`*): `BN`
*Inherited from [UInt](_codec_uint_.uint.md).[add](_codec_uint_.uint.md#add)*
*Defined in [codec/UInt.ts:95](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L95)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| other | [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`|
**Returns:** `BN`
___
<a id="bytelength"></a>
## byteLength
▸ **byteLength**(): `number`
*Inherited from [UInt](_codec_uint_.uint.md).[byteLength](_codec_uint_.uint.md#bytelength)*
*Overrides [Base](_codec_base_.base.md).[byteLength](_codec_base_.base.md#bytelength)*
*Defined in [codec/UInt.ts:53](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L53)*
**Returns:** `number`
___
<a id="cmp"></a>
## cmp
▸ **cmp**(other: * [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`*): `number`
*Inherited from [UInt](_codec_uint_.uint.md).[cmp](_codec_uint_.uint.md#cmp)*
*Defined in [codec/UInt.ts:101](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L101)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| other | [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`|
**Returns:** `number`
___
<a id="div"></a>
## div
▸ **div**(other: * [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`*): `BN`
*Inherited from [UInt](_codec_uint_.uint.md).[div](_codec_uint_.uint.md#div)*
*Defined in [codec/UInt.ts:107](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L107)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| other | [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`|
**Returns:** `BN`
___
<a id="fromjson"></a>
## fromJSON
▸ **fromJSON**(input: *`any`*): [UInt](_codec_uint_.uint.md)
*Inherited from [UInt](_codec_uint_.uint.md).[fromJSON](_codec_uint_.uint.md#fromjson)*
*Overrides [Base](_codec_base_.base.md).[fromJSON](_codec_base_.base.md#fromjson)*
*Defined in [codec/UInt.ts:57](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L57)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| input | `any` |
**Returns:** [UInt](_codec_uint_.uint.md)
___
<a id="fromu8a"></a>
## fromU8a
▸ **fromU8a**(input: *`Uint8Array`*): [UInt](_codec_uint_.uint.md)
*Inherited from [UInt](_codec_uint_.uint.md).[fromU8a](_codec_uint_.uint.md#fromu8a)*
*Overrides [Base](_codec_base_.base.md).[fromU8a](_codec_base_.base.md#fromu8a)*
*Defined in [codec/UInt.ts:63](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L63)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| input | `Uint8Array` |
**Returns:** [UInt](_codec_uint_.uint.md)
___
<a id="gt"></a>
## gt
▸ **gt**(test: * [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`*): `boolean`
*Inherited from [UInt](_codec_uint_.uint.md).[gt](_codec_uint_.uint.md#gt)*
*Defined in [codec/UInt.ts:129](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L129)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| test | [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`|
**Returns:** `boolean`
___
<a id="gte"></a>
## gte
▸ **gte**(test: * [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`*): `boolean`
*Inherited from [UInt](_codec_uint_.uint.md).[gte](_codec_uint_.uint.md#gte)*
*Defined in [codec/UInt.ts:135](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L135)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| test | [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`|
**Returns:** `boolean`
___
<a id="iszero"></a>
## isZero
▸ **isZero**(): `boolean`
*Inherited from [UInt](_codec_uint_.uint.md).[isZero](_codec_uint_.uint.md#iszero)*
*Defined in [codec/UInt.ts:113](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L113)*
**Returns:** `boolean`
___
<a id="lt"></a>
## lt
▸ **lt**(test: * [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`*): `boolean`
*Inherited from [UInt](_codec_uint_.uint.md).[lt](_codec_uint_.uint.md#lt)*
*Defined in [codec/UInt.ts:117](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L117)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| test | [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`|
**Returns:** `boolean`
___
<a id="lte"></a>
## lte
▸ **lte**(test: * [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`*): `boolean`
*Inherited from [UInt](_codec_uint_.uint.md).[lte](_codec_uint_.uint.md#lte)*
*Defined in [codec/UInt.ts:123](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L123)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| test | [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`|
**Returns:** `boolean`
___
<a id="mul"></a>
## mul
▸ **mul**(other: * [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`*): `BN`
*Inherited from [UInt](_codec_uint_.uint.md).[mul](_codec_uint_.uint.md#mul)*
*Defined in [codec/UInt.ts:141](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L141)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| other | [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`|
**Returns:** `BN`
___
<a id="sub"></a>
## sub
▸ **sub**(other: * [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`*): `BN`
*Inherited from [UInt](_codec_uint_.uint.md).[sub](_codec_uint_.uint.md#sub)*
*Defined in [codec/UInt.ts:147](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L147)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| other | [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`|
**Returns:** `BN`
___
<a id="tobn"></a>
## toBn
▸ **toBn**(): `BN`
*Inherited from [UInt](_codec_uint_.uint.md).[toBn](_codec_uint_.uint.md#tobn)*
*Defined in [codec/UInt.ts:85](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L85)*
**Returns:** `BN`
___
<a id="tohex"></a>
## toHex
▸ **toHex**(): `string`
*Inherited from [UInt](_codec_uint_.uint.md).[toHex](_codec_uint_.uint.md#tohex)*
*Defined in [codec/UInt.ts:69](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L69)*
**Returns:** `string`
___
<a id="tojson"></a>
## toJSON
▸ **toJSON**(): `any`
*Inherited from [UInt](_codec_uint_.uint.md).[toJSON](_codec_uint_.uint.md#tojson)*
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
*Defined in [codec/UInt.ts:73](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L73)*
**Returns:** `any`
___
<a id="tonumber"></a>
## toNumber
▸ **toNumber**(): `number`
*Inherited from [UInt](_codec_uint_.uint.md).[toNumber](_codec_uint_.uint.md#tonumber)*
*Defined in [codec/UInt.ts:89](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L89)*
**Returns:** `number`
___
<a id="tostring"></a>
## toString
▸ **toString**(): `string`
*Inherited from [UInt](_codec_uint_.uint.md).[toString](_codec_uint_.uint.md#tostring)*
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
*Defined in [codec/UInt.ts:81](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L81)*
**Returns:** `string`
___
<a id="tou8a"></a>
## toU8a
▸ **toU8a**(isBare?: * `undefined` &#124; `false` &#124; `true`*): `Uint8Array`
*Inherited from [UInt](_codec_uint_.uint.md).[toU8a](_codec_uint_.uint.md#tou8a)*
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
*Defined in [codec/UInt.ts:77](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L77)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| `Optional` isBare | `undefined` &#124; `false` &#124; `true`|
**Returns:** `Uint8Array`
___
<a id="decode"></a>
## `<Static>` decode
▸ **decode**(value: *[AnyNumber](../modules/_types_d_.md#anynumber)*): `BN`
*Inherited from [UInt](_codec_uint_.uint.md).[decode](_codec_uint_.uint.md#decode)*
*Defined in [codec/UInt.ts:38](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L38)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| value | [AnyNumber](../modules/_types_d_.md#anynumber) |
**Returns:** `BN`
___
+143
View File
@@ -0,0 +1,143 @@
# Hierarchy
[Base](_codec_base_.base.md)<`boolean`>
**↳ Bool**
# Constructors
<a id="constructor"></a>
## constructor
⊕ **new Bool**(value?: * [Bool](_bool_.bool.md) &#124; `boolean`*): [Bool](_bool_.bool.md)
*Overrides [Base](_codec_base_.base.md).[constructor](_codec_base_.base.md#constructor)*
*Defined in [Bool.ts:7](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/Bool.ts#L7)*
**Parameters:**
| Param | Type | Default value |
| ------ | ------ | ------ |
| `Default value` value | [Bool](_bool_.bool.md) &#124; `boolean`| false |
**Returns:** [Bool](_bool_.bool.md)
___
# Properties
<a id="raw"></a>
## raw
**● raw**: *`boolean`*
*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/48e57f9/packages/types/src/codec/Base.ts#L19)*
___
# Methods
<a id="bytelength"></a>
## byteLength
▸ **byteLength**(): `number`
*Overrides [Base](_codec_base_.base.md).[byteLength](_codec_base_.base.md#bytelength)*
*Defined in [Bool.ts:16](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/Bool.ts#L16)*
**Returns:** `number`
___
<a id="fromjson"></a>
## fromJSON
▸ **fromJSON**(input: *`any`*): [Bool](_bool_.bool.md)
*Overrides [Base](_codec_base_.base.md).[fromJSON](_codec_base_.base.md#fromjson)*
*Defined in [Bool.ts:20](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/Bool.ts#L20)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| input | `any` |
**Returns:** [Bool](_bool_.bool.md)
___
<a id="fromu8a"></a>
## fromU8a
▸ **fromU8a**(input: *`Uint8Array`*): [Bool](_bool_.bool.md)
*Overrides [Base](_codec_base_.base.md).[fromU8a](_codec_base_.base.md#fromu8a)*
*Defined in [Bool.ts:26](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/Bool.ts#L26)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| input | `Uint8Array` |
**Returns:** [Bool](_bool_.bool.md)
___
<a id="tojson"></a>
## toJSON
▸ **toJSON**(): `any`
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
*Defined in [Bool.ts:32](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/Bool.ts#L32)*
**Returns:** `any`
___
<a id="tostring"></a>
## toString
▸ **toString**(): `string`
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
*Defined in [Bool.ts:40](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/Bool.ts#L40)*
**Returns:** `string`
___
<a id="tou8a"></a>
## toU8a
▸ **toU8a**(isBare?: * `undefined` &#124; `false` &#124; `true`*): `Uint8Array`
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
*Defined in [Bool.ts:36](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/Bool.ts#L36)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| `Optional` isBare | `undefined` &#124; `false` &#124; `true`|
**Returns:** `Uint8Array`
___
+191
View File
@@ -0,0 +1,191 @@
# Hierarchy
↳ [U8a](_codec_u8a_.u8a.md)
**↳ Bytes**
↳ [Extrinsic](_extrinsic_.extrinsic.md)
↳ [StorageData](_storagedata_.storagedata.md)
↳ [StorageKey](_storagekey_.storagekey.md)
# Constructors
<a id="constructor"></a>
## constructor
⊕ **new Bytes**(value?: *[AnyU8a](../modules/_types_d_.md#anyu8a)*): [Bytes](_bytes_.bytes.md)
*Overrides [U8a](_codec_u8a_.u8a.md).[constructor](_codec_u8a_.u8a.md#constructor)*
*Defined in [Bytes.ts:16](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/Bytes.ts#L16)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| `Optional` value | [AnyU8a](../modules/_types_d_.md#anyu8a) |
**Returns:** [Bytes](_bytes_.bytes.md)
___
# Properties
<a id="_length"></a>
## `<Protected>` _length
**● _length**: *[Length](_codec_length_.length.md)*
*Defined in [Bytes.ts:16](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/Bytes.ts#L16)*
___
<a id="raw"></a>
## raw
**● raw**: *`Uint8Array`*
*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/48e57f9/packages/types/src/codec/Base.ts#L19)*
___
# Accessors
<a id="length"></a>
## length
getlength(): `number`
*Overrides [U8a](_codec_u8a_.u8a.md).[length](_codec_u8a_.u8a.md#length)*
*Defined in [Bytes.ts:24](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/Bytes.ts#L24)*
**Returns:** `number`
___
# Methods
<a id="bytelength"></a>
## byteLength
▸ **byteLength**(): `number`
*Overrides [U8a](_codec_u8a_.u8a.md).[byteLength](_codec_u8a_.u8a.md#bytelength)*
*Defined in [Bytes.ts:28](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/Bytes.ts#L28)*
**Returns:** `number`
___
<a id="fromjson"></a>
## fromJSON
▸ **fromJSON**(input: *`any`*): [Bytes](_bytes_.bytes.md)
*Overrides [U8a](_codec_u8a_.u8a.md).[fromJSON](_codec_u8a_.u8a.md#fromjson)*
*Defined in [Bytes.ts:32](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/Bytes.ts#L32)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| input | `any` |
**Returns:** [Bytes](_bytes_.bytes.md)
___
<a id="fromu8a"></a>
## fromU8a
▸ **fromU8a**(input: *`Uint8Array`*): [Bytes](_bytes_.bytes.md)
*Overrides [U8a](_codec_u8a_.u8a.md).[fromU8a](_codec_u8a_.u8a.md#fromu8a)*
*Defined in [Bytes.ts:40](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/Bytes.ts#L40)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| input | `Uint8Array` |
**Returns:** [Bytes](_bytes_.bytes.md)
___
<a id="tohex"></a>
## toHex
▸ **toHex**(): `string`
*Inherited from [U8a](_codec_u8a_.u8a.md).[toHex](_codec_u8a_.u8a.md#tohex)*
*Defined in [codec/U8a.ts:45](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/U8a.ts#L45)*
**Returns:** `string`
___
<a id="tojson"></a>
## toJSON
▸ **toJSON**(): `any`
*Inherited from [U8a](_codec_u8a_.u8a.md).[toJSON](_codec_u8a_.u8a.md#tojson)*
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
*Defined in [codec/U8a.ts:49](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/U8a.ts#L49)*
**Returns:** `any`
___
<a id="tostring"></a>
## toString
▸ **toString**(): `string`
*Inherited from [U8a](_codec_u8a_.u8a.md).[toString](_codec_u8a_.u8a.md#tostring)*
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
*Defined in [codec/U8a.ts:57](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/U8a.ts#L57)*
**Returns:** `string`
___
<a id="tou8a"></a>
## toU8a
▸ **toU8a**(isBare?: * `undefined` &#124; `false` &#124; `true`*): `Uint8Array`
*Overrides [U8a](_codec_u8a_.u8a.md).[toU8a](_codec_u8a_.u8a.md#tou8a)*
*Defined in [Bytes.ts:51](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/Bytes.ts#L51)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| `Optional` isBare | `undefined` &#124; `false` &#124; `true`|
**Returns:** `Uint8Array`
___
+153
View File
@@ -0,0 +1,153 @@
# Type parameters
#### T
# Hierarchy
**Base**
↳ [U8a](_codec_u8a_.u8a.md)
↳ [Address](_address_.address.md)
↳ [UInt](_codec_uint_.uint.md)
↳ [Struct](_codec_struct_.struct.md)
↳ [Length](_codec_length_.length.md)
↳ [Vector](_codec_vector_.vector.md)
↳ [Bool](_bool_.bool.md)
↳ [Option](_codec_option_.option.md)
↳ [Enum](_codec_enum_.enum.md)
↳ [EnumType](_codec_enumtype_.enumtype.md)
↳ [Text](_text_.text.md)
↳ [Moment](_moment_.moment.md)
↳ [Origin](_origin_.origin.md)
# Constructors
<a id="constructor"></a>
## constructor
⊕ **new Base**(value?: *`any`*): [Base](_codec_base_.base.md)
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Base.ts#L19)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| `Optional` value | `any` |
**Returns:** [Base](_codec_base_.base.md)
___
# Properties
<a id="raw"></a>
## raw
**● raw**: *`T`*
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Base.ts#L19)*
___
# Methods
<a id="bytelength"></a>
## byteLength
▸ **byteLength**(): `number`
*Defined in [codec/Base.ts:25](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Base.ts#L25)*
**Returns:** `number`
___
<a id="fromjson"></a>
## fromJSON
▸ **fromJSON**(input: *`any`*): [Base](_codec_base_.base.md)<`T`>
*Defined in [codec/Base.ts:29](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Base.ts#L29)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| input | `any` |
**Returns:** [Base](_codec_base_.base.md)<`T`>
___
<a id="fromu8a"></a>
## fromU8a
▸ **fromU8a**(input: *`Uint8Array`*): [Base](_codec_base_.base.md)<`T`>
*Defined in [codec/Base.ts:33](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Base.ts#L33)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| input | `Uint8Array` |
**Returns:** [Base](_codec_base_.base.md)<`T`>
___
<a id="tojson"></a>
## toJSON
▸ **toJSON**(): `any`
*Defined in [codec/Base.ts:37](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Base.ts#L37)*
**Returns:** `any`
___
<a id="tostring"></a>
## toString
▸ **toString**(): `string`
*Defined in [codec/Base.ts:41](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Base.ts#L41)*
**Returns:** `string`
___
<a id="tou8a"></a>
## toU8a
▸ **toU8a**(isBare?: * `undefined` &#124; `false` &#124; `true`*): `Uint8Array`
*Defined in [codec/Base.ts:45](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Base.ts#L45)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| `Optional` isBare | `undefined` &#124; `false` &#124; `true`|
**Returns:** `Uint8Array`
___
@@ -0,0 +1,45 @@
# Hierarchy
**Compact**
# Methods
<a id="decode"></a>
## `<Static>` decode
▸ **decode**(input: *`Uint8Array`*, bitLength: *`BitLength`*): `BN`
*Defined in [codec/Compact.ts:32](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Compact.ts#L32)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| input | `Uint8Array` |
| bitLength | `BitLength` |
**Returns:** `BN`
___
<a id="encode"></a>
## `<Static>` encode
▸ **encode**(length: *`BN`*, bitLength: *`BitLength`*): `Uint8Array`
*Defined in [codec/Compact.ts:48](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Compact.ts#L48)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| length | `BN` |
| bitLength | `BitLength` |
**Returns:** `Uint8Array`
___
+161
View File
@@ -0,0 +1,161 @@
# Hierarchy
[Base](_codec_base_.base.md)<`number`>
**↳ Enum**
↳ [StorageFunctionModifier](_metadata_.storagefunctionmodifier.md)
↳ [NewAccountOutcome](_newaccountoutcome_.newaccountoutcome.md)
↳ [VoteThreshold](_votethreshold_.votethreshold.md)
# Constructors
<a id="constructor"></a>
## constructor
⊕ **new Enum**(def: *`EnumDef`*, value?: * [Enum](_codec_enum_.enum.md) &#124; `number`*): [Enum](_codec_enum_.enum.md)
*Overrides [Base](_codec_base_.base.md).[constructor](_codec_base_.base.md#constructor)*
*Defined in [codec/Enum.ts:19](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Enum.ts#L19)*
**Parameters:**
| Param | Type | Default value |
| ------ | ------ | ------ |
| def | `EnumDef` | - |
| `Default value` value | [Enum](_codec_enum_.enum.md) &#124; `number`| 0 |
**Returns:** [Enum](_codec_enum_.enum.md)
___
# Properties
<a id="raw"></a>
## raw
**● raw**: *`number`*
*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/48e57f9/packages/types/src/codec/Base.ts#L19)*
___
# Methods
<a id="bytelength"></a>
## byteLength
▸ **byteLength**(): `number`
*Overrides [Base](_codec_base_.base.md).[byteLength](_codec_base_.base.md#bytelength)*
*Defined in [codec/Enum.ts:31](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Enum.ts#L31)*
**Returns:** `number`
___
<a id="fromjson"></a>
## fromJSON
▸ **fromJSON**(input: *`any`*): [Enum](_codec_enum_.enum.md)
*Overrides [Base](_codec_base_.base.md).[fromJSON](_codec_base_.base.md#fromjson)*
*Defined in [codec/Enum.ts:35](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Enum.ts#L35)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| input | `any` |
**Returns:** [Enum](_codec_enum_.enum.md)
___
<a id="fromu8a"></a>
## fromU8a
▸ **fromU8a**(input: *`Uint8Array`*): [Enum](_codec_enum_.enum.md)
*Overrides [Base](_codec_base_.base.md).[fromU8a](_codec_base_.base.md#fromu8a)*
*Defined in [codec/Enum.ts:42](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Enum.ts#L42)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| input | `Uint8Array` |
**Returns:** [Enum](_codec_enum_.enum.md)
___
<a id="tojson"></a>
## toJSON
▸ **toJSON**(): `any`
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
*Defined in [codec/Enum.ts:49](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Enum.ts#L49)*
**Returns:** `any`
___
<a id="tonumber"></a>
## toNumber
▸ **toNumber**(): `number`
*Defined in [codec/Enum.ts:57](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Enum.ts#L57)*
**Returns:** `number`
___
<a id="tostring"></a>
## toString
▸ **toString**(): `string`
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
*Defined in [codec/Enum.ts:61](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Enum.ts#L61)*
**Returns:** `string`
___
<a id="tou8a"></a>
## toU8a
▸ **toU8a**(isBare?: * `undefined` &#124; `false` &#124; `true`*): `Uint8Array`
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
*Defined in [codec/Enum.ts:53](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Enum.ts#L53)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| `Optional` isBare | `undefined` &#124; `false` &#124; `true`|
**Returns:** `Uint8Array`
___
@@ -0,0 +1,194 @@
# Type parameters
#### T
# Hierarchy
[Base](_codec_base_.base.md)<[Base](_codec_base_.base.md)<`T`>>
**↳ EnumType**
↳ [StorageFunctionType](_metadata_.storagefunctiontype.md)
↳ [MisbehaviorKind](_misbehaviorreport_.misbehaviorkind.md)
# Constructors
<a id="constructor"></a>
## constructor
⊕ **new EnumType**(def: *`TypesDef`*, index?: * `number` &#124; [EnumType](_codec_enumtype_.enumtype.md)<`T`>*, value?: *`any`*): [EnumType](_codec_enumtype_.enumtype.md)
*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/48e57f9/packages/types/src/codec/EnumType.ts#L22)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| def | `TypesDef` |
| `Optional` index | `number` &#124; [EnumType](_codec_enumtype_.enumtype.md)<`T`>|
| `Optional` value | `any` |
**Returns:** [EnumType](_codec_enumtype_.enumtype.md)
___
# Properties
<a id="raw"></a>
## raw
**● raw**: *[Base](_codec_base_.base.md)<`T`>*
*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/48e57f9/packages/types/src/codec/Base.ts#L19)*
___
# Accessors
<a id="type"></a>
## Type
getType(): `string`
*Defined in [codec/EnumType.ts:40](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/EnumType.ts#L40)*
**Returns:** `string`
___
# Methods
<a id="bytelength"></a>
## byteLength
▸ **byteLength**(): `number`
*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/48e57f9/packages/types/src/codec/EnumType.ts#L44)*
**Returns:** `number`
___
<a id="fromjson"></a>
## fromJSON
▸ **fromJSON**(input: *`any`*): [Base](_codec_base_.base.md)<[Base](_codec_base_.base.md)<`T`>>
*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/48e57f9/packages/types/src/codec/Base.ts#L29)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| input | `any` |
**Returns:** [Base](_codec_base_.base.md)<[Base](_codec_base_.base.md)<`T`>>
___
<a id="fromu8a"></a>
## fromU8a
▸ **fromU8a**(input: *`Uint8Array`*): [EnumType](_codec_enumtype_.enumtype.md)<`T`>
*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/48e57f9/packages/types/src/codec/EnumType.ts#L48)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| input | `Uint8Array` |
**Returns:** [EnumType](_codec_enumtype_.enumtype.md)<`T`>
___
<a id="setvalue"></a>
## setValue
▸ **setValue**(index?: * [EnumType](_codec_enumtype_.enumtype.md)<`T`> &#124; `number`*, value?: *`any`*): `void`
*Defined in [codec/EnumType.ts:55](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/EnumType.ts#L55)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| `Optional` index | [EnumType](_codec_enumtype_.enumtype.md)<`T`> &#124; `number`|
| `Optional` value | `any` |
**Returns:** `void`
___
<a id="tojson"></a>
## toJSON
▸ **toJSON**(): `any`
*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/48e57f9/packages/types/src/codec/EnumType.ts#L72)*
**Returns:** `any`
___
<a id="tonumber"></a>
## toNumber
▸ **toNumber**(): `number`
*Defined in [codec/EnumType.ts:76](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/EnumType.ts#L76)*
**Returns:** `number`
___
<a id="tostring"></a>
## toString
▸ **toString**(): `string`
*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/48e57f9/packages/types/src/codec/EnumType.ts#L80)*
**Returns:** `string`
___
<a id="tou8a"></a>
## toU8a
▸ **toU8a**(isBare?: * `undefined` &#124; `false` &#124; `true`*): `Uint8Array`
*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/48e57f9/packages/types/src/codec/Base.ts#L45)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| `Optional` isBare | `undefined` &#124; `false` &#124; `true`|
**Returns:** `Uint8Array`
___
+183
View File
@@ -0,0 +1,183 @@
# Hierarchy
[Base](_codec_base_.base.md)<`BN`>
**↳ Length**
# Constructors
<a id="constructor"></a>
## constructor
⊕ **new Length**(value?: *[AnyNumber](../modules/_types_d_.md#anynumber)*, bitLength?: *`BitLength`*): [Length](_codec_length_.length.md)
*Overrides [Base](_codec_base_.base.md).[constructor](_codec_base_.base.md#constructor)*
*Defined in [codec/Length.ts:26](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Length.ts#L26)*
**Parameters:**
| Param | Type | Default value |
| ------ | ------ | ------ |
| `Default value` value | [AnyNumber](../modules/_types_d_.md#anynumber) | new BN(0) |
| `Default value` bitLength | `BitLength` | 32 |
**Returns:** [Length](_codec_length_.length.md)
___
# Properties
<a id="raw"></a>
## raw
**● raw**: *`BN`*
*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/48e57f9/packages/types/src/codec/Base.ts#L19)*
___
# Methods
<a id="bytelength"></a>
## byteLength
▸ **byteLength**(): `number`
*Overrides [Base](_codec_base_.base.md).[byteLength](_codec_base_.base.md#bytelength)*
*Defined in [codec/Length.ts:36](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Length.ts#L36)*
**Returns:** `number`
___
<a id="fromjson"></a>
## fromJSON
▸ **fromJSON**(input: *`any`*): [Base](_codec_base_.base.md)<`BN`>
*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/48e57f9/packages/types/src/codec/Base.ts#L29)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| input | `any` |
**Returns:** [Base](_codec_base_.base.md)<`BN`>
___
<a id="fromu8a"></a>
## fromU8a
▸ **fromU8a**(input: *`Uint8Array`*): [Length](_codec_length_.length.md)
*Overrides [Base](_codec_base_.base.md).[fromU8a](_codec_base_.base.md#fromu8a)*
*Defined in [codec/Length.ts:40](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Length.ts#L40)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| input | `Uint8Array` |
**Returns:** [Length](_codec_length_.length.md)
___
<a id="setvalue"></a>
## setValue
▸ **setValue**(value: * `BN` &#124; `number`*): `void`
*Defined in [codec/Length.ts:60](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Length.ts#L60)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| value | `BN` &#124; `number`|
**Returns:** `void`
___
<a id="tohex"></a>
## toHex
▸ **toHex**(): `string`
*Defined in [codec/Length.ts:46](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Length.ts#L46)*
**Returns:** `string`
___
<a id="tojson"></a>
## toJSON
▸ **toJSON**(): `any`
*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/48e57f9/packages/types/src/codec/Base.ts#L37)*
**Returns:** `any`
___
<a id="tonumber"></a>
## toNumber
▸ **toNumber**(): `number`
*Defined in [codec/Length.ts:50](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Length.ts#L50)*
**Returns:** `number`
___
<a id="tostring"></a>
## toString
▸ **toString**(): `string`
*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/48e57f9/packages/types/src/codec/Base.ts#L41)*
**Returns:** `string`
___
<a id="tou8a"></a>
## toU8a
▸ **toU8a**(isBare?: * `undefined` &#124; `false` &#124; `true`*): `Uint8Array`
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
*Defined in [codec/Length.ts:54](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Length.ts#L54)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| `Optional` isBare | `undefined` &#124; `false` &#124; `true`|
**Returns:** `Uint8Array`
___
+191
View File
@@ -0,0 +1,191 @@
# Type parameters
#### T
# Hierarchy
[Base](_codec_base_.base.md)<[Base](_codec_base_.base.md)<`T`>>
**↳ Option**
# Constructors
<a id="constructor"></a>
## constructor
⊕ **new Option**(Value: *`object`*, value?: *`any`*): [Option](_codec_option_.option.md)
*Overrides [Base](_codec_base_.base.md).[constructor](_codec_base_.base.md#constructor)*
*Defined in [codec/Option.ts:14](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Option.ts#L14)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| Value | `object` |
| `Optional` value | `any` |
**Returns:** [Option](_codec_option_.option.md)
___
# Properties
<a id="raw"></a>
## raw
**● raw**: *[Base](_codec_base_.base.md)<`T`>*
*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/48e57f9/packages/types/src/codec/Base.ts#L19)*
___
# Accessors
<a id="isempty"></a>
## isEmpty
getisEmpty(): `boolean`
*Defined in [codec/Option.ts:32](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Option.ts#L32)*
**Returns:** `boolean`
___
<a id="value"></a>
## value
getvalue(): `T` &#124; `undefined`
*Defined in [codec/Option.ts:36](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Option.ts#L36)*
**Returns:** `T` &#124; `undefined`
___
# Methods
<a id="bytelength"></a>
## byteLength
▸ **byteLength**(): `number`
*Overrides [Base](_codec_base_.base.md).[byteLength](_codec_base_.base.md#bytelength)*
*Defined in [codec/Option.ts:42](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Option.ts#L42)*
**Returns:** `number`
___
<a id="fromjson"></a>
## fromJSON
▸ **fromJSON**(input: *`any`*): [Option](_codec_option_.option.md)<`T`>
*Overrides [Base](_codec_base_.base.md).[fromJSON](_codec_base_.base.md#fromjson)*
*Defined in [codec/Option.ts:50](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Option.ts#L50)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| input | `any` |
**Returns:** [Option](_codec_option_.option.md)<`T`>
___
<a id="fromu8a"></a>
## fromU8a
▸ **fromU8a**(input: *`Uint8Array`*): [Option](_codec_option_.option.md)<`T`>
*Overrides [Base](_codec_base_.base.md).[fromU8a](_codec_base_.base.md#fromu8a)*
*Defined in [codec/Option.ts:60](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Option.ts#L60)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| input | `Uint8Array` |
**Returns:** [Option](_codec_option_.option.md)<`T`>
___
<a id="tojson"></a>
## toJSON
▸ **toJSON**(): `any`
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
*Defined in [codec/Option.ts:70](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Option.ts#L70)*
**Returns:** `any`
___
<a id="tostring"></a>
## toString
▸ **toString**(): `string`
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
*Defined in [codec/Option.ts:91](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Option.ts#L91)*
**Returns:** `string`
___
<a id="tou8a"></a>
## toU8a
▸ **toU8a**(isBare?: * `undefined` &#124; `false` &#124; `true`*): `Uint8Array`
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
*Defined in [codec/Option.ts:76](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Option.ts#L76)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| `Optional` isBare | `undefined` &#124; `false` &#124; `true`|
**Returns:** `Uint8Array`
___
<a id="with"></a>
## `<Static>` with
▸ **with**<`O`>(Type: *`object`*): `object`
*Defined in [codec/Option.ts:24](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Option.ts#L24)*
**Type parameters:**
#### O
**Parameters:**
| Param | Type |
| ------ | ------ |
| Type | `object` |
**Returns:** `object`
___
+314
View File
@@ -0,0 +1,314 @@
# Type parameters
#### S
#### T
#### V
#### E
# Hierarchy
[Base](_codec_base_.base.md)<`T`>
**↳ Struct**
↳ [Digest](_header_.digest.md)
↳ [Header](_header_.header.md)
↳ [Block](_block_.block.md)
↳ [Tuple](_codec_tuple_.tuple.md)
↳ [EventMetadata](_metadata_.eventmetadata.md)
↳ [OuterEventMetadataEvent](_metadata_.outereventmetadataevent.md)
↳ [OuterEventMetadata](_metadata_.outereventmetadata.md)
↳ [FunctionArgumentMetadata](_metadata_.functionargumentmetadata.md)
↳ [FunctionMetadata](_metadata_.functionmetadata.md)
↳ [CallMetadata](_metadata_.callmetadata.md)
↳ [ModuleMetadata](_metadata_.modulemetadata.md)
↳ [StorageFunctionType$Map](_metadata_.storagefunctiontype_map.md)
↳ [StorageFunctionMetadata](_metadata_.storagefunctionmetadata.md)
↳ [StorageMetadata](_metadata_.storagemetadata.md)
↳ [RuntimeModuleMetadata](_metadata_.runtimemodulemetadata.md)
↳ [RuntimeMetadata](_metadata_.runtimemetadata.md)
↳ [KeyValue](_keyvalue_.keyvalue.md)
↳ [Justification](_bft_.justification.md)
↳ [BftAtReport](_misbehaviorreport_.bftatreport.md)
↳ [MisbehaviorReport](_misbehaviorreport_.misbehaviorreport.md)
↳ [RuntimeVersion](_runtimeversion_.runtimeversion.md)
↳ [SignedBlock](_signedblock_.signedblock.md)
↳ [StorageChangeSet](_storagechangeset_.storagechangeset.md)
↳ [ValidatorPrefs](_validatorprefs_.validatorprefs.md)
# Constructors
<a id="constructor"></a>
## constructor
⊕ **new Struct**(Types: *`S`*, value?: * `V` &#124; `Array`<`any`>*, jsonMap?: *`Map`<`keyof S`, `string`>*, isTuple?: *`boolean`*): [Struct](_codec_struct_.struct.md)
*Overrides [Base](_codec_base_.base.md).[constructor](_codec_base_.base.md#constructor)*
*Defined in [codec/Struct.ts:27](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L27)*
**Parameters:**
| Param | Type | Default value |
| ------ | ------ | ------ |
| Types | `S` | - |
| `Default value` value | `V` &#124; `Array`<`any`>| {} as V |
| `Default value` jsonMap | `Map`<`keyof S`, `string`> | new Map() |
| `Default value` isTuple | `boolean` | false |
**Returns:** [Struct](_codec_struct_.struct.md)
___
# Properties
<a id="_types"></a>
## `<Protected>` _Types
**● _Types**: *`E`*
*Defined in [codec/Struct.ts:27](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L27)*
___
<a id="_jsonmap"></a>
## `<Protected>` _jsonMap
**● _jsonMap**: *`Map`<`keyof S`, `string`>*
*Defined in [codec/Struct.ts:26](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L26)*
___
<a id="raw"></a>
## raw
**● raw**: *`T`*
*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/48e57f9/packages/types/src/codec/Base.ts#L19)*
___
# Accessors
<a id="type"></a>
## Type
getType(): `E`
*Defined in [codec/Struct.ts:76](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L76)*
**Returns:** `E`
___
# Methods
<a id="bytelength"></a>
## byteLength
▸ **byteLength**(): `number`
*Overrides [Base](_codec_base_.base.md).[byteLength](_codec_base_.base.md#bytelength)*
*Defined in [codec/Struct.ts:80](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L80)*
**Returns:** `number`
___
<a id="fromjson"></a>
## fromJSON
▸ **fromJSON**(input: *`any`*): [Struct](_codec_struct_.struct.md)<`S`, `T`, `V`, `E`>
*Overrides [Base](_codec_base_.base.md).[fromJSON](_codec_base_.base.md#fromjson)*
*Defined in [codec/Struct.ts:86](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L86)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| input | `any` |
**Returns:** [Struct](_codec_struct_.struct.md)<`S`, `T`, `V`, `E`>
___
<a id="fromu8a"></a>
## fromU8a
▸ **fromU8a**(input: *`Uint8Array`*): [Struct](_codec_struct_.struct.md)<`S`, `T`, `V`, `E`>
*Overrides [Base](_codec_base_.base.md).[fromU8a](_codec_base_.base.md#fromu8a)*
*Defined in [codec/Struct.ts:101](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L101)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| input | `Uint8Array` |
**Returns:** [Struct](_codec_struct_.struct.md)<`S`, `T`, `V`, `E`>
___
<a id="get"></a>
## get
▸ **get**(index: *`number`*): [Base](_codec_base_.base.md)
*Defined in [codec/Struct.ts:111](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L111)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| index | `number` |
**Returns:** [Base](_codec_base_.base.md)
___
<a id="keys"></a>
## keys
▸ **keys**(): `Array`<`string`>
*Defined in [codec/Struct.ts:126](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L126)*
**Returns:** `Array`<`string`>
___
<a id="tojson"></a>
## toJSON
▸ **toJSON**(): `any`
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
*Defined in [codec/Struct.ts:115](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L115)*
**Returns:** `any`
___
<a id="tostring"></a>
## toString
▸ **toString**(): `string`
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
*Defined in [codec/Struct.ts:138](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L138)*
**Returns:** `string`
___
<a id="tou8a"></a>
## toU8a
▸ **toU8a**(isBare?: * `undefined` &#124; `false` &#124; `true`*): `Uint8Array`
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
*Defined in [codec/Struct.ts:130](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L130)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| `Optional` isBare | `undefined` &#124; `false` &#124; `true`|
**Returns:** `Uint8Array`
___
<a id="values"></a>
## values
▸ **values**(): `Array`<[Base](_codec_base_.base.md)>
*Defined in [codec/Struct.ts:147](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L147)*
**Returns:** `Array`<[Base](_codec_base_.base.md)>
___
<a id="decode"></a>
## `<Static>` decode
▸ **decode**<`S`,`V`,`T`>(Types: *`S`*, value: * `V` &#124; `Array`<`any`>*, isTuple: *`boolean`*): `T`
*Defined in [codec/Struct.ts:45](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L45)*
**Type parameters:**
#### S
#### V
#### T
**Parameters:**
| Param | Type |
| ------ | ------ |
| Types | `S` |
| value | `V` &#124; `Array`<`any`>|
| isTuple | `boolean` |
**Returns:** `T`
___
<a id="with"></a>
## `<Static>` with
▸ **with**<`S`>(Types: *`S`*): `object`
*Defined in [codec/Struct.ts:66](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L66)*
**Type parameters:**
#### S
**Parameters:**
| Param | Type |
| ------ | ------ |
| Types | `S` |
**Returns:** `object`
___
+295
View File
@@ -0,0 +1,295 @@
# Type parameters
#### S
#### T
#### V
#### E
# Hierarchy
↳ [Struct](_codec_struct_.struct.md)<`S`, `T`, `V`>
**↳ Tuple**
↳ [KeyValueOption](_keyvalue_.keyvalueoption.md)
↳ [BftAuthoritySignature](_bft_.bftauthoritysignature.md)
↳ [BftHashSignature](_bft_.bfthashsignature.md)
# Constructors
<a id="constructor"></a>
## constructor
⊕ **new Tuple**(Types: *`S`*, value?: * `V` &#124; `Array`<`any`>*, 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:19](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Tuple.ts#L19)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| Types | `S` |
| `Optional` value | `V` &#124; `Array`<`any`>|
| `Optional` jsonMap | `Map`<`keyof S`, `string`> |
**Returns:** [Tuple](_codec_tuple_.tuple.md)
___
# 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:27](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L27)*
___
<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:26](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L26)*
___
<a id="raw"></a>
## raw
**● raw**: *`T`*
*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/48e57f9/packages/types/src/codec/Base.ts#L19)*
___
# Accessors
<a id="type"></a>
## Type
getType(): `E`
*Inherited from [Struct](_codec_struct_.struct.md).[Type](_codec_struct_.struct.md#type)*
*Defined in [codec/Struct.ts:76](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L76)*
**Returns:** `E`
___
# Methods
<a id="bytelength"></a>
## byteLength
▸ **byteLength**(): `number`
*Inherited from [Struct](_codec_struct_.struct.md).[byteLength](_codec_struct_.struct.md#bytelength)*
*Overrides [Base](_codec_base_.base.md).[byteLength](_codec_base_.base.md#bytelength)*
*Defined in [codec/Struct.ts:80](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L80)*
**Returns:** `number`
___
<a id="fromjson"></a>
## fromJSON
▸ **fromJSON**(input: *`any`*): [Tuple](_codec_tuple_.tuple.md)<`S`, `T`, `V`>
*Overrides [Struct](_codec_struct_.struct.md).[fromJSON](_codec_struct_.struct.md#fromjson)*
*Defined in [codec/Tuple.ts:34](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Tuple.ts#L34)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| input | `any` |
**Returns:** [Tuple](_codec_tuple_.tuple.md)<`S`, `T`, `V`>
___
<a id="fromu8a"></a>
## fromU8a
▸ **fromU8a**(input: *`Uint8Array`*): [Struct](_codec_struct_.struct.md)<`S`, `T`, `V`, `E`>
*Inherited from [Struct](_codec_struct_.struct.md).[fromU8a](_codec_struct_.struct.md#fromu8a)*
*Overrides [Base](_codec_base_.base.md).[fromU8a](_codec_base_.base.md#fromu8a)*
*Defined in [codec/Struct.ts:101](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L101)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| input | `Uint8Array` |
**Returns:** [Struct](_codec_struct_.struct.md)<`S`, `T`, `V`, `E`>
___
<a id="get"></a>
## get
▸ **get**(index: *`number`*): [Base](_codec_base_.base.md)
*Inherited from [Struct](_codec_struct_.struct.md).[get](_codec_struct_.struct.md#get)*
*Defined in [codec/Struct.ts:111](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L111)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| index | `number` |
**Returns:** [Base](_codec_base_.base.md)
___
<a id="keys"></a>
## keys
▸ **keys**(): `Array`<`string`>
*Inherited from [Struct](_codec_struct_.struct.md).[keys](_codec_struct_.struct.md#keys)*
*Defined in [codec/Struct.ts:126](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L126)*
**Returns:** `Array`<`string`>
___
<a id="tojson"></a>
## toJSON
▸ **toJSON**(): `any`
*Overrides [Struct](_codec_struct_.struct.md).[toJSON](_codec_struct_.struct.md#tojson)*
*Defined in [codec/Tuple.ts:46](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Tuple.ts#L46)*
**Returns:** `any`
___
<a id="tostring"></a>
## toString
▸ **toString**(): `string`
*Inherited from [Struct](_codec_struct_.struct.md).[toString](_codec_struct_.struct.md#tostring)*
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
*Defined in [codec/Struct.ts:138](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L138)*
**Returns:** `string`
___
<a id="tou8a"></a>
## toU8a
▸ **toU8a**(isBare?: * `undefined` &#124; `false` &#124; `true`*): `Uint8Array`
*Inherited from [Struct](_codec_struct_.struct.md).[toU8a](_codec_struct_.struct.md#tou8a)*
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
*Defined in [codec/Struct.ts:130](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L130)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| `Optional` isBare | `undefined` &#124; `false` &#124; `true`|
**Returns:** `Uint8Array`
___
<a id="values"></a>
## values
▸ **values**(): `Array`<[Base](_codec_base_.base.md)>
*Inherited from [Struct](_codec_struct_.struct.md).[values](_codec_struct_.struct.md#values)*
*Defined in [codec/Struct.ts:147](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L147)*
**Returns:** `Array`<[Base](_codec_base_.base.md)>
___
<a id="decode"></a>
## `<Static>` decode
▸ **decode**<`S`,`V`,`T`>(Types: *`S`*, value: * `V` &#124; `Array`<`any`>*, isTuple: *`boolean`*): `T`
*Inherited from [Struct](_codec_struct_.struct.md).[decode](_codec_struct_.struct.md#decode)*
*Defined in [codec/Struct.ts:45](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L45)*
**Type parameters:**
#### S
#### V
#### T
**Parameters:**
| Param | Type |
| ------ | ------ |
| Types | `S` |
| value | `V` &#124; `Array`<`any`>|
| isTuple | `boolean` |
**Returns:** `T`
___
<a id="with"></a>
## `<Static>` with
▸ **with**<`S`>(Types: *`S`*): `object`
*Overrides [Struct](_codec_struct_.struct.md).[with](_codec_struct_.struct.md#with)*
*Defined in [codec/Tuple.ts:24](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Tuple.ts#L24)*
**Type parameters:**
#### S
**Parameters:**
| Param | Type |
| ------ | ------ |
| Types | `S` |
**Returns:** `object`
___
+174
View File
@@ -0,0 +1,174 @@
# Hierarchy
[Base](_codec_base_.base.md)<`Uint8Array`>
**↳ U8a**
↳ [AccountIndex](_accountindex_.accountindex.md)
↳ [Bytes](_bytes_.bytes.md)
↳ [U8aFixed](_codec_u8afixed_.u8afixed.md)
# Constructors
<a id="constructor"></a>
## constructor
⊕ **new U8a**(value?: *[AnyU8a](../modules/_types_d_.md#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/48e57f9/packages/types/src/codec/U8a.ts#L16)*
**Parameters:**
| Param | Type | Default value |
| ------ | ------ | ------ |
| `Default value` value | [AnyU8a](../modules/_types_d_.md#anyu8a) | new Uint8Array() |
**Returns:** [U8a](_codec_u8a_.u8a.md)
___
# Properties
<a id="raw"></a>
## raw
**● raw**: *`Uint8Array`*
*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/48e57f9/packages/types/src/codec/Base.ts#L19)*
___
# Accessors
<a id="length"></a>
## length
getlength(): `number`
*Defined in [codec/U8a.ts:25](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/U8a.ts#L25)*
**Returns:** `number`
___
# Methods
<a id="bytelength"></a>
## byteLength
▸ **byteLength**(): `number`
*Overrides [Base](_codec_base_.base.md).[byteLength](_codec_base_.base.md#bytelength)*
*Defined in [codec/U8a.ts:29](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/U8a.ts#L29)*
**Returns:** `number`
___
<a id="fromjson"></a>
## fromJSON
▸ **fromJSON**(input: *`any`*): [U8a](_codec_u8a_.u8a.md)
*Overrides [Base](_codec_base_.base.md).[fromJSON](_codec_base_.base.md#fromjson)*
*Defined in [codec/U8a.ts:33](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/U8a.ts#L33)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| input | `any` |
**Returns:** [U8a](_codec_u8a_.u8a.md)
___
<a id="fromu8a"></a>
## fromU8a
▸ **fromU8a**(input: *`Uint8Array`*): [U8a](_codec_u8a_.u8a.md)
*Overrides [Base](_codec_base_.base.md).[fromU8a](_codec_base_.base.md#fromu8a)*
*Defined in [codec/U8a.ts:39](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/U8a.ts#L39)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| input | `Uint8Array` |
**Returns:** [U8a](_codec_u8a_.u8a.md)
___
<a id="tohex"></a>
## toHex
▸ **toHex**(): `string`
*Defined in [codec/U8a.ts:45](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/U8a.ts#L45)*
**Returns:** `string`
___
<a id="tojson"></a>
## toJSON
▸ **toJSON**(): `any`
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
*Defined in [codec/U8a.ts:49](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/U8a.ts#L49)*
**Returns:** `any`
___
<a id="tostring"></a>
## toString
▸ **toString**(): `string`
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
*Defined in [codec/U8a.ts:57](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/U8a.ts#L57)*
**Returns:** `string`
___
<a id="tou8a"></a>
## toU8a
▸ **toU8a**(isBare?: * `undefined` &#124; `false` &#124; `true`*): `Uint8Array`
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
*Defined in [codec/U8a.ts:53](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/U8a.ts#L53)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| `Optional` isBare | `undefined` &#124; `false` &#124; `true`|
**Returns:** `Uint8Array`
___
@@ -0,0 +1,194 @@
# Hierarchy
↳ [U8a](_codec_u8a_.u8a.md)
**↳ U8aFixed**
↳ [H256](_h256_.h256.md)
↳ [H512](_h512_.h512.md)
↳ [AccountId](_accountid_.accountid.md)
# Constructors
<a id="constructor"></a>
## constructor
⊕ **new U8aFixed**(value?: *[AnyU8a](../modules/_types_d_.md#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/48e57f9/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` bitLength | `BitLength` | 256 |
**Returns:** [U8aFixed](_codec_u8afixed_.u8afixed.md)
___
# Properties
<a id="_bitlength"></a>
## `<Protected>` _bitLength
**● _bitLength**: *`number`*
*Defined in [codec/U8aFixed.ts:14](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/U8aFixed.ts#L14)*
___
<a id="raw"></a>
## raw
**● raw**: *`Uint8Array`*
*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/48e57f9/packages/types/src/codec/Base.ts#L19)*
___
# Accessors
<a id="length"></a>
## length
getlength(): `number`
*Inherited from [U8a](_codec_u8a_.u8a.md).[length](_codec_u8a_.u8a.md#length)*
*Defined in [codec/U8a.ts:25](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/U8a.ts#L25)*
**Returns:** `number`
___
# Methods
<a id="bytelength"></a>
## byteLength
▸ **byteLength**(): `number`
*Overrides [U8a](_codec_u8a_.u8a.md).[byteLength](_codec_u8a_.u8a.md#bytelength)*
*Defined in [codec/U8aFixed.ts:28](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/U8aFixed.ts#L28)*
**Returns:** `number`
___
<a id="fromjson"></a>
## fromJSON
▸ **fromJSON**(input: *`any`*): [U8aFixed](_codec_u8afixed_.u8afixed.md)
*Overrides [U8a](_codec_u8a_.u8a.md).[fromJSON](_codec_u8a_.u8a.md#fromjson)*
*Defined in [codec/U8aFixed.ts:32](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/U8aFixed.ts#L32)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| input | `any` |
**Returns:** [U8aFixed](_codec_u8afixed_.u8afixed.md)
___
<a id="fromu8a"></a>
## fromU8a
▸ **fromU8a**(input: *`Uint8Array`*): [U8aFixed](_codec_u8afixed_.u8afixed.md)
*Overrides [U8a](_codec_u8a_.u8a.md).[fromU8a](_codec_u8a_.u8a.md#fromu8a)*
*Defined in [codec/U8aFixed.ts:40](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/U8aFixed.ts#L40)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| input | `Uint8Array` |
**Returns:** [U8aFixed](_codec_u8afixed_.u8afixed.md)
___
<a id="tohex"></a>
## toHex
▸ **toHex**(): `string`
*Inherited from [U8a](_codec_u8a_.u8a.md).[toHex](_codec_u8a_.u8a.md#tohex)*
*Defined in [codec/U8a.ts:45](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/U8a.ts#L45)*
**Returns:** `string`
___
<a id="tojson"></a>
## toJSON
▸ **toJSON**(): `any`
*Inherited from [U8a](_codec_u8a_.u8a.md).[toJSON](_codec_u8a_.u8a.md#tojson)*
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
*Defined in [codec/U8a.ts:49](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/U8a.ts#L49)*
**Returns:** `any`
___
<a id="tostring"></a>
## toString
▸ **toString**(): `string`
*Inherited from [U8a](_codec_u8a_.u8a.md).[toString](_codec_u8a_.u8a.md#tostring)*
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
*Defined in [codec/U8a.ts:57](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/U8a.ts#L57)*
**Returns:** `string`
___
<a id="tou8a"></a>
## toU8a
▸ **toU8a**(isBare?: * `undefined` &#124; `false` &#124; `true`*): `Uint8Array`
*Inherited from [U8a](_codec_u8a_.u8a.md).[toU8a](_codec_u8a_.u8a.md#tou8a)*
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
*Defined in [codec/U8a.ts:53](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/U8a.ts#L53)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| `Optional` isBare | `undefined` &#124; `false` &#124; `true`|
**Returns:** `Uint8Array`
___
+370
View File
@@ -0,0 +1,370 @@
# Hierarchy
[Base](_codec_base_.base.md)<`BN`>
**↳ UInt**
↳ [U128](_u128_.u128.md)
↳ [U64](_u64_.u64.md)
↳ [U16](_u16_.u16.md)
↳ [U32](_u32_.u32.md)
↳ [U8](_u8_.u8.md)
↳ [U256](_u256_.u256.md)
# Constructors
<a id="constructor"></a>
## constructor
⊕ **new UInt**(value?: *[AnyNumber](../modules/_types_d_.md#anynumber)*, bitLength?: *`BitLength`*): [UInt](_codec_uint_.uint.md)
*Overrides [Base](_codec_base_.base.md).[constructor](_codec_base_.base.md#constructor)*
*Defined in [codec/UInt.ts:28](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L28)*
**Parameters:**
| Param | Type | Default value |
| ------ | ------ | ------ |
| `Default value` value | [AnyNumber](../modules/_types_d_.md#anynumber) | 0 |
| `Default value` bitLength | `BitLength` | 64 |
**Returns:** [UInt](_codec_uint_.uint.md)
___
# Properties
<a id="raw"></a>
## raw
**● raw**: *`BN`*
*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/48e57f9/packages/types/src/codec/Base.ts#L19)*
___
# Methods
<a id="add"></a>
## add
▸ **add**(other: * [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`*): `BN`
*Defined in [codec/UInt.ts:95](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L95)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| other | [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`|
**Returns:** `BN`
___
<a id="bytelength"></a>
## byteLength
▸ **byteLength**(): `number`
*Overrides [Base](_codec_base_.base.md).[byteLength](_codec_base_.base.md#bytelength)*
*Defined in [codec/UInt.ts:53](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L53)*
**Returns:** `number`
___
<a id="cmp"></a>
## cmp
▸ **cmp**(other: * [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`*): `number`
*Defined in [codec/UInt.ts:101](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L101)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| other | [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`|
**Returns:** `number`
___
<a id="div"></a>
## div
▸ **div**(other: * [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`*): `BN`
*Defined in [codec/UInt.ts:107](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L107)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| other | [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`|
**Returns:** `BN`
___
<a id="fromjson"></a>
## fromJSON
▸ **fromJSON**(input: *`any`*): [UInt](_codec_uint_.uint.md)
*Overrides [Base](_codec_base_.base.md).[fromJSON](_codec_base_.base.md#fromjson)*
*Defined in [codec/UInt.ts:57](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L57)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| input | `any` |
**Returns:** [UInt](_codec_uint_.uint.md)
___
<a id="fromu8a"></a>
## fromU8a
▸ **fromU8a**(input: *`Uint8Array`*): [UInt](_codec_uint_.uint.md)
*Overrides [Base](_codec_base_.base.md).[fromU8a](_codec_base_.base.md#fromu8a)*
*Defined in [codec/UInt.ts:63](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L63)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| input | `Uint8Array` |
**Returns:** [UInt](_codec_uint_.uint.md)
___
<a id="gt"></a>
## gt
▸ **gt**(test: * [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`*): `boolean`
*Defined in [codec/UInt.ts:129](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L129)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| test | [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`|
**Returns:** `boolean`
___
<a id="gte"></a>
## gte
▸ **gte**(test: * [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`*): `boolean`
*Defined in [codec/UInt.ts:135](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L135)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| test | [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`|
**Returns:** `boolean`
___
<a id="iszero"></a>
## isZero
▸ **isZero**(): `boolean`
*Defined in [codec/UInt.ts:113](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L113)*
**Returns:** `boolean`
___
<a id="lt"></a>
## lt
▸ **lt**(test: * [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`*): `boolean`
*Defined in [codec/UInt.ts:117](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L117)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| test | [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`|
**Returns:** `boolean`
___
<a id="lte"></a>
## lte
▸ **lte**(test: * [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`*): `boolean`
*Defined in [codec/UInt.ts:123](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L123)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| test | [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`|
**Returns:** `boolean`
___
<a id="mul"></a>
## mul
▸ **mul**(other: * [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`*): `BN`
*Defined in [codec/UInt.ts:141](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L141)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| other | [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`|
**Returns:** `BN`
___
<a id="sub"></a>
## sub
▸ **sub**(other: * [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`*): `BN`
*Defined in [codec/UInt.ts:147](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L147)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| other | [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`|
**Returns:** `BN`
___
<a id="tobn"></a>
## toBn
▸ **toBn**(): `BN`
*Defined in [codec/UInt.ts:85](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L85)*
**Returns:** `BN`
___
<a id="tohex"></a>
## toHex
▸ **toHex**(): `string`
*Defined in [codec/UInt.ts:69](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L69)*
**Returns:** `string`
___
<a id="tojson"></a>
## toJSON
▸ **toJSON**(): `any`
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
*Defined in [codec/UInt.ts:73](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L73)*
**Returns:** `any`
___
<a id="tonumber"></a>
## toNumber
▸ **toNumber**(): `number`
*Defined in [codec/UInt.ts:89](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L89)*
**Returns:** `number`
___
<a id="tostring"></a>
## toString
▸ **toString**(): `string`
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
*Defined in [codec/UInt.ts:81](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L81)*
**Returns:** `string`
___
<a id="tou8a"></a>
## toU8a
▸ **toU8a**(isBare?: * `undefined` &#124; `false` &#124; `true`*): `Uint8Array`
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
*Defined in [codec/UInt.ts:77](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L77)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| `Optional` isBare | `undefined` &#124; `false` &#124; `true`|
**Returns:** `Uint8Array`
___
<a id="decode"></a>
## `<Static>` decode
▸ **decode**(value: *[AnyNumber](../modules/_types_d_.md#anynumber)*): `BN`
*Defined in [codec/UInt.ts:38](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L38)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| value | [AnyNumber](../modules/_types_d_.md#anynumber) |
**Returns:** `BN`
___
+319
View File
@@ -0,0 +1,319 @@
# Type parameters
#### T : [Base](_codec_base_.base.md)
# Hierarchy
[Base](_codec_base_.base.md)<`Array`<`T`>>
**↳ Vector**
↳ [Extrinsics](_extrinsics_.extrinsics.md)
# Constructors
<a id="constructor"></a>
## constructor
⊕ **new Vector**(Type: *`object`*, value?: *`Array`<`any`>*): [Vector](_codec_vector_.vector.md)
*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/48e57f9/packages/types/src/codec/Vector.ts#L19)*
**Parameters:**
| Param | Type | Default value |
| ------ | ------ | ------ |
| Type | `object` | - |
| `Default value` value | `Array`<`any`> | [] as Array&lt;any&gt; |
**Returns:** [Vector](_codec_vector_.vector.md)
___
# Properties
<a id="raw"></a>
## raw
**● raw**: *`Array`<`T`>*
*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/48e57f9/packages/types/src/codec/Base.ts#L19)*
___
# Accessors
<a id="type"></a>
## Type
getType(): `string`
*Defined in [codec/Vector.ts:42](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Vector.ts#L42)*
**Returns:** `string`
___
<a id="length"></a>
## length
getlength(): `number`
*Defined in [codec/Vector.ts:46](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Vector.ts#L46)*
**Returns:** `number`
___
# Methods
<a id="bytelength"></a>
## byteLength
▸ **byteLength**(): `number`
*Overrides [Base](_codec_base_.base.md).[byteLength](_codec_base_.base.md#bytelength)*
*Defined in [codec/Vector.ts:50](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Vector.ts#L50)*
**Returns:** `number`
___
<a id="filter"></a>
## filter
▸ **filter**(fn: *`function`*): `Array`<`T`>
*Defined in [codec/Vector.ts:56](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Vector.ts#L56)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| fn | `function` |
**Returns:** `Array`<`T`>
___
<a id="find"></a>
## find
▸ **find**(fn: *`function`*): `T` &#124; `undefined`
*Defined in [codec/Vector.ts:60](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Vector.ts#L60)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| fn | `function` |
**Returns:** `T` &#124; `undefined`
___
<a id="foreach"></a>
## forEach
▸ **forEach**(fn: *`function`*): `any`
*Defined in [codec/Vector.ts:64](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Vector.ts#L64)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| fn | `function` |
**Returns:** `any`
___
<a id="fromjson"></a>
## fromJSON
▸ **fromJSON**(input: *`any`*): [Vector](_codec_vector_.vector.md)<`T`>
*Overrides [Base](_codec_base_.base.md).[fromJSON](_codec_base_.base.md#fromjson)*
*Defined in [codec/Vector.ts:68](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Vector.ts#L68)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| input | `any` |
**Returns:** [Vector](_codec_vector_.vector.md)<`T`>
___
<a id="fromu8a"></a>
## fromU8a
▸ **fromU8a**(input: *`Uint8Array`*): [Vector](_codec_vector_.vector.md)<`T`>
*Overrides [Base](_codec_base_.base.md).[fromU8a](_codec_base_.base.md#fromu8a)*
*Defined in [codec/Vector.ts:76](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Vector.ts#L76)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| input | `Uint8Array` |
**Returns:** [Vector](_codec_vector_.vector.md)<`T`>
___
<a id="get"></a>
## get
▸ **get**(index: *`number`*): `T`
*Defined in [codec/Vector.ts:93](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Vector.ts#L93)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| index | `number` |
**Returns:** `T`
___
<a id="map"></a>
## map
▸ **map**<`O`>(fn: *`function`*): `Array`<`O`>
*Defined in [codec/Vector.ts:97](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Vector.ts#L97)*
**Type parameters:**
#### O
**Parameters:**
| Param | Type |
| ------ | ------ |
| fn | `function` |
**Returns:** `Array`<`O`>
___
<a id="push"></a>
## push
▸ **push**(item: *`T`*): `void`
*Defined in [codec/Vector.ts:101](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Vector.ts#L101)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| item | `T` |
**Returns:** `void`
___
<a id="reduce"></a>
## reduce
▸ **reduce**<`O`>(fn: *`function`*, initial: *`O`*): `O`
*Defined in [codec/Vector.ts:106](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Vector.ts#L106)*
**Type parameters:**
#### O
**Parameters:**
| Param | Type |
| ------ | ------ |
| fn | `function` |
| initial | `O` |
**Returns:** `O`
___
<a id="tojson"></a>
## toJSON
▸ **toJSON**(): `any`
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
*Defined in [codec/Vector.ts:110](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Vector.ts#L110)*
**Returns:** `any`
___
<a id="tostring"></a>
## toString
▸ **toString**(): `string`
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
*Defined in [codec/Vector.ts:125](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Vector.ts#L125)*
**Returns:** `string`
___
<a id="tou8a"></a>
## toU8a
▸ **toU8a**(isBare?: * `undefined` &#124; `false` &#124; `true`*): `Uint8Array`
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
*Defined in [codec/Vector.ts:116](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Vector.ts#L116)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| `Optional` isBare | `undefined` &#124; `false` &#124; `true`|
**Returns:** `Uint8Array`
___
<a id="with"></a>
## `<Static>` with
▸ **with**<`O`>(Type: *`object`*): `object`
*Defined in [codec/Vector.ts:34](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Vector.ts#L34)*
**Type parameters:**
#### O : [Base](_codec_base_.base.md)
**Parameters:**
| Param | Type |
| ------ | ------ |
| Type | `object` |
**Returns:** `object`
___
+212
View File
@@ -0,0 +1,212 @@
# Hierarchy
↳ [Bytes](_bytes_.bytes.md)
**↳ Extrinsic**
↳ [Proposal](_proposal_.proposal.md)
# Constructors
<a id="constructor"></a>
## constructor
⊕ **new Extrinsic**(value?: *[AnyU8a](../modules/_types_d_.md#anyu8a)*): [Extrinsic](_extrinsic_.extrinsic.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:16](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/Bytes.ts#L16)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| `Optional` value | [AnyU8a](../modules/_types_d_.md#anyu8a) |
**Returns:** [Extrinsic](_extrinsic_.extrinsic.md)
___
# Properties
<a id="_length"></a>
## `<Protected>` _length
**● _length**: *[Length](_codec_length_.length.md)*
*Inherited from [Bytes](_bytes_.bytes.md).[_length](_bytes_.bytes.md#_length)*
*Defined in [Bytes.ts:16](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/Bytes.ts#L16)*
___
<a id="raw"></a>
## raw
**● raw**: *`Uint8Array`*
*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/48e57f9/packages/types/src/codec/Base.ts#L19)*
___
# Accessors
<a id="hash"></a>
## hash
gethash(): [Hash](_hash_.hash.md)
*Defined in [Extrinsic.ts:16](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/Extrinsic.ts#L16)*
**Returns:** [Hash](_hash_.hash.md)
___
<a id="length"></a>
## length
getlength(): `number`
*Inherited from [Bytes](_bytes_.bytes.md).[length](_bytes_.bytes.md#length)*
*Overrides [U8a](_codec_u8a_.u8a.md).[length](_codec_u8a_.u8a.md#length)*
*Defined in [Bytes.ts:24](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/Bytes.ts#L24)*
**Returns:** `number`
___
# Methods
<a id="bytelength"></a>
## byteLength
▸ **byteLength**(): `number`
*Inherited from [Bytes](_bytes_.bytes.md).[byteLength](_bytes_.bytes.md#bytelength)*
*Overrides [U8a](_codec_u8a_.u8a.md).[byteLength](_codec_u8a_.u8a.md#bytelength)*
*Defined in [Bytes.ts:28](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/Bytes.ts#L28)*
**Returns:** `number`
___
<a id="fromjson"></a>
## fromJSON
▸ **fromJSON**(input: *`any`*): [Bytes](_bytes_.bytes.md)
*Inherited from [Bytes](_bytes_.bytes.md).[fromJSON](_bytes_.bytes.md#fromjson)*
*Overrides [U8a](_codec_u8a_.u8a.md).[fromJSON](_codec_u8a_.u8a.md#fromjson)*
*Defined in [Bytes.ts:32](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/Bytes.ts#L32)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| input | `any` |
**Returns:** [Bytes](_bytes_.bytes.md)
___
<a id="fromu8a"></a>
## fromU8a
▸ **fromU8a**(input: *`Uint8Array`*): [Bytes](_bytes_.bytes.md)
*Inherited from [Bytes](_bytes_.bytes.md).[fromU8a](_bytes_.bytes.md#fromu8a)*
*Overrides [U8a](_codec_u8a_.u8a.md).[fromU8a](_codec_u8a_.u8a.md#fromu8a)*
*Defined in [Bytes.ts:40](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/Bytes.ts#L40)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| input | `Uint8Array` |
**Returns:** [Bytes](_bytes_.bytes.md)
___
<a id="tohex"></a>
## toHex
▸ **toHex**(): `string`
*Inherited from [U8a](_codec_u8a_.u8a.md).[toHex](_codec_u8a_.u8a.md#tohex)*
*Defined in [codec/U8a.ts:45](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/U8a.ts#L45)*
**Returns:** `string`
___
<a id="tojson"></a>
## toJSON
▸ **toJSON**(): `any`
*Inherited from [U8a](_codec_u8a_.u8a.md).[toJSON](_codec_u8a_.u8a.md#tojson)*
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
*Defined in [codec/U8a.ts:49](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/U8a.ts#L49)*
**Returns:** `any`
___
<a id="tostring"></a>
## toString
▸ **toString**(): `string`
*Inherited from [U8a](_codec_u8a_.u8a.md).[toString](_codec_u8a_.u8a.md#tostring)*
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
*Defined in [codec/U8a.ts:57](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/U8a.ts#L57)*
**Returns:** `string`
___
<a id="tou8a"></a>
## toU8a
▸ **toU8a**(isBare?: * `undefined` &#124; `false` &#124; `true`*): `Uint8Array`
*Inherited from [Bytes](_bytes_.bytes.md).[toU8a](_bytes_.bytes.md#tou8a)*
*Overrides [U8a](_codec_u8a_.u8a.md).[toU8a](_codec_u8a_.u8a.md#tou8a)*
*Defined in [Bytes.ts:51](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/Bytes.ts#L51)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| `Optional` isBare | `undefined` &#124; `false` &#124; `true`|
**Returns:** `Uint8Array`
___
@@ -0,0 +1,353 @@
# Type parameters
#### T : [Base](_codec_base_.base.md)
# Hierarchy
↳ [Vector](_codec_vector_.vector.md)
**↳ Extrinsics**
↳ [PendingExtrinsics](_pendingextrinsics_.pendingextrinsics.md)
# Constructors
<a id="constructor"></a>
## constructor
⊕ **new Extrinsics**(Type: *`object`*, value?: *`Array`<`any`>*): [Extrinsics](_extrinsics_.extrinsics.md)
*Inherited from [Vector](_codec_vector_.vector.md).[constructor](_codec_vector_.vector.md#constructor)*
*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/48e57f9/packages/types/src/codec/Vector.ts#L19)*
**Parameters:**
| Param | Type | Default value |
| ------ | ------ | ------ |
| Type | `object` | - |
| `Default value` value | `Array`<`any`> | [] as Array&lt;any&gt; |
**Returns:** [Extrinsics](_extrinsics_.extrinsics.md)
___
# Properties
<a id="raw"></a>
## raw
**● raw**: *`Array`<`T`>*
*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/48e57f9/packages/types/src/codec/Base.ts#L19)*
___
# Accessors
<a id="type"></a>
## Type
getType(): `string`
*Inherited from [Vector](_codec_vector_.vector.md).[Type](_codec_vector_.vector.md#type)*
*Defined in [codec/Vector.ts:42](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Vector.ts#L42)*
**Returns:** `string`
___
<a id="length"></a>
## length
getlength(): `number`
*Inherited from [Vector](_codec_vector_.vector.md).[length](_codec_vector_.vector.md#length)*
*Defined in [codec/Vector.ts:46](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Vector.ts#L46)*
**Returns:** `number`
___
# Methods
<a id="bytelength"></a>
## byteLength
▸ **byteLength**(): `number`
*Inherited from [Vector](_codec_vector_.vector.md).[byteLength](_codec_vector_.vector.md#bytelength)*
*Overrides [Base](_codec_base_.base.md).[byteLength](_codec_base_.base.md#bytelength)*
*Defined in [codec/Vector.ts:50](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Vector.ts#L50)*
**Returns:** `number`
___
<a id="filter"></a>
## filter
▸ **filter**(fn: *`function`*): `Array`<`T`>
*Inherited from [Vector](_codec_vector_.vector.md).[filter](_codec_vector_.vector.md#filter)*
*Defined in [codec/Vector.ts:56](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Vector.ts#L56)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| fn | `function` |
**Returns:** `Array`<`T`>
___
<a id="find"></a>
## find
▸ **find**(fn: *`function`*): `T` &#124; `undefined`
*Inherited from [Vector](_codec_vector_.vector.md).[find](_codec_vector_.vector.md#find)*
*Defined in [codec/Vector.ts:60](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Vector.ts#L60)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| fn | `function` |
**Returns:** `T` &#124; `undefined`
___
<a id="foreach"></a>
## forEach
▸ **forEach**(fn: *`function`*): `any`
*Inherited from [Vector](_codec_vector_.vector.md).[forEach](_codec_vector_.vector.md#foreach)*
*Defined in [codec/Vector.ts:64](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Vector.ts#L64)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| fn | `function` |
**Returns:** `any`
___
<a id="fromjson"></a>
## fromJSON
▸ **fromJSON**(input: *`any`*): [Vector](_codec_vector_.vector.md)<`T`>
*Inherited from [Vector](_codec_vector_.vector.md).[fromJSON](_codec_vector_.vector.md#fromjson)*
*Overrides [Base](_codec_base_.base.md).[fromJSON](_codec_base_.base.md#fromjson)*
*Defined in [codec/Vector.ts:68](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Vector.ts#L68)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| input | `any` |
**Returns:** [Vector](_codec_vector_.vector.md)<`T`>
___
<a id="fromu8a"></a>
## fromU8a
▸ **fromU8a**(input: *`Uint8Array`*): [Vector](_codec_vector_.vector.md)<`T`>
*Inherited from [Vector](_codec_vector_.vector.md).[fromU8a](_codec_vector_.vector.md#fromu8a)*
*Overrides [Base](_codec_base_.base.md).[fromU8a](_codec_base_.base.md#fromu8a)*
*Defined in [codec/Vector.ts:76](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Vector.ts#L76)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| input | `Uint8Array` |
**Returns:** [Vector](_codec_vector_.vector.md)<`T`>
___
<a id="get"></a>
## get
▸ **get**(index: *`number`*): `T`
*Inherited from [Vector](_codec_vector_.vector.md).[get](_codec_vector_.vector.md#get)*
*Defined in [codec/Vector.ts:93](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Vector.ts#L93)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| index | `number` |
**Returns:** `T`
___
<a id="map"></a>
## map
▸ **map**<`O`>(fn: *`function`*): `Array`<`O`>
*Inherited from [Vector](_codec_vector_.vector.md).[map](_codec_vector_.vector.md#map)*
*Defined in [codec/Vector.ts:97](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Vector.ts#L97)*
**Type parameters:**
#### O
**Parameters:**
| Param | Type |
| ------ | ------ |
| fn | `function` |
**Returns:** `Array`<`O`>
___
<a id="push"></a>
## push
▸ **push**(item: *`T`*): `void`
*Inherited from [Vector](_codec_vector_.vector.md).[push](_codec_vector_.vector.md#push)*
*Defined in [codec/Vector.ts:101](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Vector.ts#L101)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| item | `T` |
**Returns:** `void`
___
<a id="reduce"></a>
## reduce
▸ **reduce**<`O`>(fn: *`function`*, initial: *`O`*): `O`
*Inherited from [Vector](_codec_vector_.vector.md).[reduce](_codec_vector_.vector.md#reduce)*
*Defined in [codec/Vector.ts:106](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Vector.ts#L106)*
**Type parameters:**
#### O
**Parameters:**
| Param | Type |
| ------ | ------ |
| fn | `function` |
| initial | `O` |
**Returns:** `O`
___
<a id="tojson"></a>
## toJSON
▸ **toJSON**(): `any`
*Inherited from [Vector](_codec_vector_.vector.md).[toJSON](_codec_vector_.vector.md#tojson)*
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
*Defined in [codec/Vector.ts:110](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Vector.ts#L110)*
**Returns:** `any`
___
<a id="tostring"></a>
## toString
▸ **toString**(): `string`
*Inherited from [Vector](_codec_vector_.vector.md).[toString](_codec_vector_.vector.md#tostring)*
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
*Defined in [codec/Vector.ts:125](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Vector.ts#L125)*
**Returns:** `string`
___
<a id="tou8a"></a>
## toU8a
▸ **toU8a**(isBare?: * `undefined` &#124; `false` &#124; `true`*): `Uint8Array`
*Inherited from [Vector](_codec_vector_.vector.md).[toU8a](_codec_vector_.vector.md#tou8a)*
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
*Defined in [codec/Vector.ts:116](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Vector.ts#L116)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| `Optional` isBare | `undefined` &#124; `false` &#124; `true`|
**Returns:** `Uint8Array`
___
<a id="with"></a>
## `<Static>` with
▸ **with**<`O`>(Type: *`object`*): `object`
*Inherited from [Vector](_codec_vector_.vector.md).[with](_codec_vector_.vector.md#with)*
*Defined in [codec/Vector.ts:34](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Vector.ts#L34)*
**Type parameters:**
#### O : [Base](_codec_base_.base.md)
**Parameters:**
| Param | Type |
| ------ | ------ |
| Type | `object` |
**Returns:** `object`
___
+399
View File
@@ -0,0 +1,399 @@
# Hierarchy
↳ [U64](_u64_.u64.md)
**↳ Gas**
# Constructors
<a id="constructor"></a>
## constructor
⊕ **new Gas**(value?: *[AnyNumber](../modules/_types_d_.md#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/48e57f9/packages/types/src/U64.ts#L9)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| `Optional` value | [AnyNumber](../modules/_types_d_.md#anynumber) |
**Returns:** [Gas](_gas_.gas.md)
___
# Properties
<a id="raw"></a>
## raw
**● raw**: *`BN`*
*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/48e57f9/packages/types/src/codec/Base.ts#L19)*
___
# Methods
<a id="add"></a>
## add
▸ **add**(other: * [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`*): `BN`
*Inherited from [UInt](_codec_uint_.uint.md).[add](_codec_uint_.uint.md#add)*
*Defined in [codec/UInt.ts:95](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L95)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| other | [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`|
**Returns:** `BN`
___
<a id="bytelength"></a>
## byteLength
▸ **byteLength**(): `number`
*Inherited from [UInt](_codec_uint_.uint.md).[byteLength](_codec_uint_.uint.md#bytelength)*
*Overrides [Base](_codec_base_.base.md).[byteLength](_codec_base_.base.md#bytelength)*
*Defined in [codec/UInt.ts:53](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L53)*
**Returns:** `number`
___
<a id="cmp"></a>
## cmp
▸ **cmp**(other: * [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`*): `number`
*Inherited from [UInt](_codec_uint_.uint.md).[cmp](_codec_uint_.uint.md#cmp)*
*Defined in [codec/UInt.ts:101](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L101)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| other | [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`|
**Returns:** `number`
___
<a id="div"></a>
## div
▸ **div**(other: * [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`*): `BN`
*Inherited from [UInt](_codec_uint_.uint.md).[div](_codec_uint_.uint.md#div)*
*Defined in [codec/UInt.ts:107](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L107)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| other | [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`|
**Returns:** `BN`
___
<a id="fromjson"></a>
## fromJSON
▸ **fromJSON**(input: *`any`*): [UInt](_codec_uint_.uint.md)
*Inherited from [UInt](_codec_uint_.uint.md).[fromJSON](_codec_uint_.uint.md#fromjson)*
*Overrides [Base](_codec_base_.base.md).[fromJSON](_codec_base_.base.md#fromjson)*
*Defined in [codec/UInt.ts:57](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L57)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| input | `any` |
**Returns:** [UInt](_codec_uint_.uint.md)
___
<a id="fromu8a"></a>
## fromU8a
▸ **fromU8a**(input: *`Uint8Array`*): [UInt](_codec_uint_.uint.md)
*Inherited from [UInt](_codec_uint_.uint.md).[fromU8a](_codec_uint_.uint.md#fromu8a)*
*Overrides [Base](_codec_base_.base.md).[fromU8a](_codec_base_.base.md#fromu8a)*
*Defined in [codec/UInt.ts:63](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L63)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| input | `Uint8Array` |
**Returns:** [UInt](_codec_uint_.uint.md)
___
<a id="gt"></a>
## gt
▸ **gt**(test: * [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`*): `boolean`
*Inherited from [UInt](_codec_uint_.uint.md).[gt](_codec_uint_.uint.md#gt)*
*Defined in [codec/UInt.ts:129](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L129)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| test | [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`|
**Returns:** `boolean`
___
<a id="gte"></a>
## gte
▸ **gte**(test: * [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`*): `boolean`
*Inherited from [UInt](_codec_uint_.uint.md).[gte](_codec_uint_.uint.md#gte)*
*Defined in [codec/UInt.ts:135](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L135)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| test | [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`|
**Returns:** `boolean`
___
<a id="iszero"></a>
## isZero
▸ **isZero**(): `boolean`
*Inherited from [UInt](_codec_uint_.uint.md).[isZero](_codec_uint_.uint.md#iszero)*
*Defined in [codec/UInt.ts:113](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L113)*
**Returns:** `boolean`
___
<a id="lt"></a>
## lt
▸ **lt**(test: * [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`*): `boolean`
*Inherited from [UInt](_codec_uint_.uint.md).[lt](_codec_uint_.uint.md#lt)*
*Defined in [codec/UInt.ts:117](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L117)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| test | [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`|
**Returns:** `boolean`
___
<a id="lte"></a>
## lte
▸ **lte**(test: * [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`*): `boolean`
*Inherited from [UInt](_codec_uint_.uint.md).[lte](_codec_uint_.uint.md#lte)*
*Defined in [codec/UInt.ts:123](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L123)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| test | [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`|
**Returns:** `boolean`
___
<a id="mul"></a>
## mul
▸ **mul**(other: * [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`*): `BN`
*Inherited from [UInt](_codec_uint_.uint.md).[mul](_codec_uint_.uint.md#mul)*
*Defined in [codec/UInt.ts:141](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L141)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| other | [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`|
**Returns:** `BN`
___
<a id="sub"></a>
## sub
▸ **sub**(other: * [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`*): `BN`
*Inherited from [UInt](_codec_uint_.uint.md).[sub](_codec_uint_.uint.md#sub)*
*Defined in [codec/UInt.ts:147](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L147)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| other | [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`|
**Returns:** `BN`
___
<a id="tobn"></a>
## toBn
▸ **toBn**(): `BN`
*Inherited from [UInt](_codec_uint_.uint.md).[toBn](_codec_uint_.uint.md#tobn)*
*Defined in [codec/UInt.ts:85](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L85)*
**Returns:** `BN`
___
<a id="tohex"></a>
## toHex
▸ **toHex**(): `string`
*Inherited from [UInt](_codec_uint_.uint.md).[toHex](_codec_uint_.uint.md#tohex)*
*Defined in [codec/UInt.ts:69](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L69)*
**Returns:** `string`
___
<a id="tojson"></a>
## toJSON
▸ **toJSON**(): `any`
*Inherited from [UInt](_codec_uint_.uint.md).[toJSON](_codec_uint_.uint.md#tojson)*
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
*Defined in [codec/UInt.ts:73](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L73)*
**Returns:** `any`
___
<a id="tonumber"></a>
## toNumber
▸ **toNumber**(): `number`
*Inherited from [UInt](_codec_uint_.uint.md).[toNumber](_codec_uint_.uint.md#tonumber)*
*Defined in [codec/UInt.ts:89](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L89)*
**Returns:** `number`
___
<a id="tostring"></a>
## toString
▸ **toString**(): `string`
*Inherited from [UInt](_codec_uint_.uint.md).[toString](_codec_uint_.uint.md#tostring)*
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
*Defined in [codec/UInt.ts:81](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L81)*
**Returns:** `string`
___
<a id="tou8a"></a>
## toU8a
▸ **toU8a**(isBare?: * `undefined` &#124; `false` &#124; `true`*): `Uint8Array`
*Inherited from [UInt](_codec_uint_.uint.md).[toU8a](_codec_uint_.uint.md#tou8a)*
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
*Defined in [codec/UInt.ts:77](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L77)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| `Optional` isBare | `undefined` &#124; `false` &#124; `true`|
**Returns:** `Uint8Array`
___
<a id="decode"></a>
## `<Static>` decode
▸ **decode**(value: *[AnyNumber](../modules/_types_d_.md#anynumber)*): `BN`
*Inherited from [UInt](_codec_uint_.uint.md).[decode](_codec_uint_.uint.md#decode)*
*Defined in [codec/UInt.ts:38](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L38)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| value | [AnyNumber](../modules/_types_d_.md#anynumber) |
**Returns:** `BN`
___
+197
View File
@@ -0,0 +1,197 @@
# Hierarchy
↳ [U8aFixed](_codec_u8afixed_.u8afixed.md)
**↳ H256**
↳ [Hash](_hash_.hash.md)
# Constructors
<a id="constructor"></a>
## constructor
⊕ **new H256**(value?: *[AnyU8a](../modules/_types_d_.md#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/48e57f9/packages/types/src/H256.ts#L11)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| `Optional` value | [AnyU8a](../modules/_types_d_.md#anyu8a) |
**Returns:** [H256](_h256_.h256.md)
___
# 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/48e57f9/packages/types/src/codec/U8aFixed.ts#L14)*
___
<a id="raw"></a>
## raw
**● raw**: *`Uint8Array`*
*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/48e57f9/packages/types/src/codec/Base.ts#L19)*
___
# Accessors
<a id="length"></a>
## length
getlength(): `number`
*Inherited from [U8a](_codec_u8a_.u8a.md).[length](_codec_u8a_.u8a.md#length)*
*Defined in [codec/U8a.ts:25](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/U8a.ts#L25)*
**Returns:** `number`
___
# Methods
<a id="bytelength"></a>
## byteLength
▸ **byteLength**(): `number`
*Inherited from [U8aFixed](_codec_u8afixed_.u8afixed.md).[byteLength](_codec_u8afixed_.u8afixed.md#bytelength)*
*Overrides [U8a](_codec_u8a_.u8a.md).[byteLength](_codec_u8a_.u8a.md#bytelength)*
*Defined in [codec/U8aFixed.ts:28](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/U8aFixed.ts#L28)*
**Returns:** `number`
___
<a id="fromjson"></a>
## fromJSON
▸ **fromJSON**(input: *`any`*): [U8aFixed](_codec_u8afixed_.u8afixed.md)
*Inherited from [U8aFixed](_codec_u8afixed_.u8afixed.md).[fromJSON](_codec_u8afixed_.u8afixed.md#fromjson)*
*Overrides [U8a](_codec_u8a_.u8a.md).[fromJSON](_codec_u8a_.u8a.md#fromjson)*
*Defined in [codec/U8aFixed.ts:32](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/U8aFixed.ts#L32)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| input | `any` |
**Returns:** [U8aFixed](_codec_u8afixed_.u8afixed.md)
___
<a id="fromu8a"></a>
## fromU8a
▸ **fromU8a**(input: *`Uint8Array`*): [U8aFixed](_codec_u8afixed_.u8afixed.md)
*Inherited from [U8aFixed](_codec_u8afixed_.u8afixed.md).[fromU8a](_codec_u8afixed_.u8afixed.md#fromu8a)*
*Overrides [U8a](_codec_u8a_.u8a.md).[fromU8a](_codec_u8a_.u8a.md#fromu8a)*
*Defined in [codec/U8aFixed.ts:40](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/U8aFixed.ts#L40)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| input | `Uint8Array` |
**Returns:** [U8aFixed](_codec_u8afixed_.u8afixed.md)
___
<a id="tohex"></a>
## toHex
▸ **toHex**(): `string`
*Inherited from [U8a](_codec_u8a_.u8a.md).[toHex](_codec_u8a_.u8a.md#tohex)*
*Defined in [codec/U8a.ts:45](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/U8a.ts#L45)*
**Returns:** `string`
___
<a id="tojson"></a>
## toJSON
▸ **toJSON**(): `any`
*Inherited from [U8a](_codec_u8a_.u8a.md).[toJSON](_codec_u8a_.u8a.md#tojson)*
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
*Defined in [codec/U8a.ts:49](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/U8a.ts#L49)*
**Returns:** `any`
___
<a id="tostring"></a>
## toString
▸ **toString**(): `string`
*Inherited from [U8a](_codec_u8a_.u8a.md).[toString](_codec_u8a_.u8a.md#tostring)*
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
*Defined in [codec/U8a.ts:57](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/U8a.ts#L57)*
**Returns:** `string`
___
<a id="tou8a"></a>
## toU8a
▸ **toU8a**(isBare?: * `undefined` &#124; `false` &#124; `true`*): `Uint8Array`
*Inherited from [U8a](_codec_u8a_.u8a.md).[toU8a](_codec_u8a_.u8a.md#tou8a)*
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
*Defined in [codec/U8a.ts:53](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/U8a.ts#L53)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| `Optional` isBare | `undefined` &#124; `false` &#124; `true`|
**Returns:** `Uint8Array`
___
+197
View File
@@ -0,0 +1,197 @@
# Hierarchy
↳ [U8aFixed](_codec_u8afixed_.u8afixed.md)
**↳ H512**
↳ [Signature](_signature_.signature.md)
# Constructors
<a id="constructor"></a>
## constructor
⊕ **new H512**(value?: *[AnyU8a](../modules/_types_d_.md#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/48e57f9/packages/types/src/H512.ts#L10)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| `Optional` value | [AnyU8a](../modules/_types_d_.md#anyu8a) |
**Returns:** [H512](_h512_.h512.md)
___
# 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/48e57f9/packages/types/src/codec/U8aFixed.ts#L14)*
___
<a id="raw"></a>
## raw
**● raw**: *`Uint8Array`*
*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/48e57f9/packages/types/src/codec/Base.ts#L19)*
___
# Accessors
<a id="length"></a>
## length
getlength(): `number`
*Inherited from [U8a](_codec_u8a_.u8a.md).[length](_codec_u8a_.u8a.md#length)*
*Defined in [codec/U8a.ts:25](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/U8a.ts#L25)*
**Returns:** `number`
___
# Methods
<a id="bytelength"></a>
## byteLength
▸ **byteLength**(): `number`
*Inherited from [U8aFixed](_codec_u8afixed_.u8afixed.md).[byteLength](_codec_u8afixed_.u8afixed.md#bytelength)*
*Overrides [U8a](_codec_u8a_.u8a.md).[byteLength](_codec_u8a_.u8a.md#bytelength)*
*Defined in [codec/U8aFixed.ts:28](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/U8aFixed.ts#L28)*
**Returns:** `number`
___
<a id="fromjson"></a>
## fromJSON
▸ **fromJSON**(input: *`any`*): [U8aFixed](_codec_u8afixed_.u8afixed.md)
*Inherited from [U8aFixed](_codec_u8afixed_.u8afixed.md).[fromJSON](_codec_u8afixed_.u8afixed.md#fromjson)*
*Overrides [U8a](_codec_u8a_.u8a.md).[fromJSON](_codec_u8a_.u8a.md#fromjson)*
*Defined in [codec/U8aFixed.ts:32](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/U8aFixed.ts#L32)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| input | `any` |
**Returns:** [U8aFixed](_codec_u8afixed_.u8afixed.md)
___
<a id="fromu8a"></a>
## fromU8a
▸ **fromU8a**(input: *`Uint8Array`*): [U8aFixed](_codec_u8afixed_.u8afixed.md)
*Inherited from [U8aFixed](_codec_u8afixed_.u8afixed.md).[fromU8a](_codec_u8afixed_.u8afixed.md#fromu8a)*
*Overrides [U8a](_codec_u8a_.u8a.md).[fromU8a](_codec_u8a_.u8a.md#fromu8a)*
*Defined in [codec/U8aFixed.ts:40](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/U8aFixed.ts#L40)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| input | `Uint8Array` |
**Returns:** [U8aFixed](_codec_u8afixed_.u8afixed.md)
___
<a id="tohex"></a>
## toHex
▸ **toHex**(): `string`
*Inherited from [U8a](_codec_u8a_.u8a.md).[toHex](_codec_u8a_.u8a.md#tohex)*
*Defined in [codec/U8a.ts:45](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/U8a.ts#L45)*
**Returns:** `string`
___
<a id="tojson"></a>
## toJSON
▸ **toJSON**(): `any`
*Inherited from [U8a](_codec_u8a_.u8a.md).[toJSON](_codec_u8a_.u8a.md#tojson)*
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
*Defined in [codec/U8a.ts:49](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/U8a.ts#L49)*
**Returns:** `any`
___
<a id="tostring"></a>
## toString
▸ **toString**(): `string`
*Inherited from [U8a](_codec_u8a_.u8a.md).[toString](_codec_u8a_.u8a.md#tostring)*
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
*Defined in [codec/U8a.ts:57](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/U8a.ts#L57)*
**Returns:** `string`
___
<a id="tou8a"></a>
## toU8a
▸ **toU8a**(isBare?: * `undefined` &#124; `false` &#124; `true`*): `Uint8Array`
*Inherited from [U8a](_codec_u8a_.u8a.md).[toU8a](_codec_u8a_.u8a.md#tou8a)*
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
*Defined in [codec/U8a.ts:53](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/U8a.ts#L53)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| `Optional` isBare | `undefined` &#124; `false` &#124; `true`|
**Returns:** `Uint8Array`
___
+197
View File
@@ -0,0 +1,197 @@
# Hierarchy
↳ [H256](_h256_.h256.md)
**↳ Hash**
# Constructors
<a id="constructor"></a>
## constructor
⊕ **new Hash**(value?: *[AnyU8a](../modules/_types_d_.md#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/48e57f9/packages/types/src/H256.ts#L11)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| `Optional` value | [AnyU8a](../modules/_types_d_.md#anyu8a) |
**Returns:** [Hash](_hash_.hash.md)
___
# 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/48e57f9/packages/types/src/codec/U8aFixed.ts#L14)*
___
<a id="raw"></a>
## raw
**● raw**: *`Uint8Array`*
*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/48e57f9/packages/types/src/codec/Base.ts#L19)*
___
# Accessors
<a id="length"></a>
## length
getlength(): `number`
*Inherited from [U8a](_codec_u8a_.u8a.md).[length](_codec_u8a_.u8a.md#length)*
*Defined in [codec/U8a.ts:25](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/U8a.ts#L25)*
**Returns:** `number`
___
# Methods
<a id="bytelength"></a>
## byteLength
▸ **byteLength**(): `number`
*Inherited from [U8aFixed](_codec_u8afixed_.u8afixed.md).[byteLength](_codec_u8afixed_.u8afixed.md#bytelength)*
*Overrides [U8a](_codec_u8a_.u8a.md).[byteLength](_codec_u8a_.u8a.md#bytelength)*
*Defined in [codec/U8aFixed.ts:28](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/U8aFixed.ts#L28)*
**Returns:** `number`
___
<a id="fromjson"></a>
## fromJSON
▸ **fromJSON**(input: *`any`*): [U8aFixed](_codec_u8afixed_.u8afixed.md)
*Inherited from [U8aFixed](_codec_u8afixed_.u8afixed.md).[fromJSON](_codec_u8afixed_.u8afixed.md#fromjson)*
*Overrides [U8a](_codec_u8a_.u8a.md).[fromJSON](_codec_u8a_.u8a.md#fromjson)*
*Defined in [codec/U8aFixed.ts:32](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/U8aFixed.ts#L32)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| input | `any` |
**Returns:** [U8aFixed](_codec_u8afixed_.u8afixed.md)
___
<a id="fromu8a"></a>
## fromU8a
▸ **fromU8a**(input: *`Uint8Array`*): [U8aFixed](_codec_u8afixed_.u8afixed.md)
*Inherited from [U8aFixed](_codec_u8afixed_.u8afixed.md).[fromU8a](_codec_u8afixed_.u8afixed.md#fromu8a)*
*Overrides [U8a](_codec_u8a_.u8a.md).[fromU8a](_codec_u8a_.u8a.md#fromu8a)*
*Defined in [codec/U8aFixed.ts:40](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/U8aFixed.ts#L40)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| input | `Uint8Array` |
**Returns:** [U8aFixed](_codec_u8afixed_.u8afixed.md)
___
<a id="tohex"></a>
## toHex
▸ **toHex**(): `string`
*Inherited from [U8a](_codec_u8a_.u8a.md).[toHex](_codec_u8a_.u8a.md#tohex)*
*Defined in [codec/U8a.ts:45](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/U8a.ts#L45)*
**Returns:** `string`
___
<a id="tojson"></a>
## toJSON
▸ **toJSON**(): `any`
*Inherited from [U8a](_codec_u8a_.u8a.md).[toJSON](_codec_u8a_.u8a.md#tojson)*
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
*Defined in [codec/U8a.ts:49](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/U8a.ts#L49)*
**Returns:** `any`
___
<a id="tostring"></a>
## toString
▸ **toString**(): `string`
*Inherited from [U8a](_codec_u8a_.u8a.md).[toString](_codec_u8a_.u8a.md#tostring)*
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
*Defined in [codec/U8a.ts:57](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/U8a.ts#L57)*
**Returns:** `string`
___
<a id="tou8a"></a>
## toU8a
▸ **toU8a**(isBare?: * `undefined` &#124; `false` &#124; `true`*): `Uint8Array`
*Inherited from [U8a](_codec_u8a_.u8a.md).[toU8a](_codec_u8a_.u8a.md#tou8a)*
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
*Defined in [codec/U8a.ts:53](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/U8a.ts#L53)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| `Optional` isBare | `undefined` &#124; `false` &#124; `true`|
**Returns:** `Uint8Array`
___
+302
View File
@@ -0,0 +1,302 @@
# Type parameters
#### S
#### T
#### V
#### E
# Hierarchy
↳ [Struct](_codec_struct_.struct.md)
**↳ Digest**
# Constructors
<a id="constructor"></a>
## constructor
⊕ **new Digest**(value?: *`DigestValue`*): [Digest](_header_.digest.md)
*Overrides [Struct](_codec_struct_.struct.md).[constructor](_codec_struct_.struct.md#constructor)*
*Defined in [Header.ts:29](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/Header.ts#L29)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| `Optional` value | `DigestValue` |
**Returns:** [Digest](_header_.digest.md)
___
# 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:27](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L27)*
___
<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:26](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L26)*
___
<a id="raw"></a>
## raw
**● raw**: *`T`*
*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/48e57f9/packages/types/src/codec/Base.ts#L19)*
___
# Accessors
<a id="type"></a>
## Type
getType(): `E`
*Inherited from [Struct](_codec_struct_.struct.md).[Type](_codec_struct_.struct.md#type)*
*Defined in [codec/Struct.ts:76](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L76)*
**Returns:** `E`
___
<a id="logs"></a>
## logs
getlogs(): [Vector](_codec_vector_.vector.md)<[Bytes](_bytes_.bytes.md)>
*Defined in [Header.ts:36](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/Header.ts#L36)*
**Returns:** [Vector](_codec_vector_.vector.md)<[Bytes](_bytes_.bytes.md)>
___
# Methods
<a id="bytelength"></a>
## byteLength
▸ **byteLength**(): `number`
*Inherited from [Struct](_codec_struct_.struct.md).[byteLength](_codec_struct_.struct.md#bytelength)*
*Overrides [Base](_codec_base_.base.md).[byteLength](_codec_base_.base.md#bytelength)*
*Defined in [codec/Struct.ts:80](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L80)*
**Returns:** `number`
___
<a id="fromjson"></a>
## fromJSON
▸ **fromJSON**(input: *`any`*): [Struct](_codec_struct_.struct.md)<`S`, `T`, `V`, `E`>
*Inherited from [Struct](_codec_struct_.struct.md).[fromJSON](_codec_struct_.struct.md#fromjson)*
*Overrides [Base](_codec_base_.base.md).[fromJSON](_codec_base_.base.md#fromjson)*
*Defined in [codec/Struct.ts:86](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L86)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| input | `any` |
**Returns:** [Struct](_codec_struct_.struct.md)<`S`, `T`, `V`, `E`>
___
<a id="fromu8a"></a>
## fromU8a
▸ **fromU8a**(input: *`Uint8Array`*): [Struct](_codec_struct_.struct.md)<`S`, `T`, `V`, `E`>
*Inherited from [Struct](_codec_struct_.struct.md).[fromU8a](_codec_struct_.struct.md#fromu8a)*
*Overrides [Base](_codec_base_.base.md).[fromU8a](_codec_base_.base.md#fromu8a)*
*Defined in [codec/Struct.ts:101](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L101)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| input | `Uint8Array` |
**Returns:** [Struct](_codec_struct_.struct.md)<`S`, `T`, `V`, `E`>
___
<a id="get"></a>
## get
▸ **get**(index: *`number`*): [Base](_codec_base_.base.md)
*Inherited from [Struct](_codec_struct_.struct.md).[get](_codec_struct_.struct.md#get)*
*Defined in [codec/Struct.ts:111](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L111)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| index | `number` |
**Returns:** [Base](_codec_base_.base.md)
___
<a id="keys"></a>
## keys
▸ **keys**(): `Array`<`string`>
*Inherited from [Struct](_codec_struct_.struct.md).[keys](_codec_struct_.struct.md#keys)*
*Defined in [codec/Struct.ts:126](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L126)*
**Returns:** `Array`<`string`>
___
<a id="tojson"></a>
## toJSON
▸ **toJSON**(): `any`
*Inherited from [Struct](_codec_struct_.struct.md).[toJSON](_codec_struct_.struct.md#tojson)*
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
*Defined in [codec/Struct.ts:115](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L115)*
**Returns:** `any`
___
<a id="tostring"></a>
## toString
▸ **toString**(): `string`
*Inherited from [Struct](_codec_struct_.struct.md).[toString](_codec_struct_.struct.md#tostring)*
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
*Defined in [codec/Struct.ts:138](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L138)*
**Returns:** `string`
___
<a id="tou8a"></a>
## toU8a
▸ **toU8a**(isBare?: * `undefined` &#124; `false` &#124; `true`*): `Uint8Array`
*Inherited from [Struct](_codec_struct_.struct.md).[toU8a](_codec_struct_.struct.md#tou8a)*
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
*Defined in [codec/Struct.ts:130](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L130)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| `Optional` isBare | `undefined` &#124; `false` &#124; `true`|
**Returns:** `Uint8Array`
___
<a id="values"></a>
## values
▸ **values**(): `Array`<[Base](_codec_base_.base.md)>
*Inherited from [Struct](_codec_struct_.struct.md).[values](_codec_struct_.struct.md#values)*
*Defined in [codec/Struct.ts:147](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L147)*
**Returns:** `Array`<[Base](_codec_base_.base.md)>
___
<a id="decode"></a>
## `<Static>` decode
▸ **decode**<`S`,`V`,`T`>(Types: *`S`*, value: * `V` &#124; `Array`<`any`>*, isTuple: *`boolean`*): `T`
*Inherited from [Struct](_codec_struct_.struct.md).[decode](_codec_struct_.struct.md#decode)*
*Defined in [codec/Struct.ts:45](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L45)*
**Type parameters:**
#### S
#### V
#### T
**Parameters:**
| Param | Type |
| ------ | ------ |
| Types | `S` |
| value | `V` &#124; `Array`<`any`>|
| isTuple | `boolean` |
**Returns:** `T`
___
<a id="with"></a>
## `<Static>` with
▸ **with**<`S`>(Types: *`S`*): `object`
*Inherited from [Struct](_codec_struct_.struct.md).[with](_codec_struct_.struct.md#with)*
*Defined in [codec/Struct.ts:66](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L66)*
**Type parameters:**
#### S
**Parameters:**
| Param | Type |
| ------ | ------ |
| Types | `S` |
**Returns:** `object`
___
+357
View File
@@ -0,0 +1,357 @@
# Type parameters
#### S
#### T
#### V
#### E
# Hierarchy
↳ [Struct](_codec_struct_.struct.md)
**↳ Header**
# Constructors
<a id="constructor"></a>
## constructor
⊕ **new Header**(value?: *[HeaderValue](../modules/_header_.md#headervalue)*): [Header](_header_.header.md)
*Overrides [Struct](_codec_struct_.struct.md).[constructor](_codec_struct_.struct.md#constructor)*
*Defined in [Header.ts:42](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/Header.ts#L42)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| `Optional` value | [HeaderValue](../modules/_header_.md#headervalue) |
**Returns:** [Header](_header_.header.md)
___
# 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:27](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L27)*
___
<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:26](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L26)*
___
<a id="raw"></a>
## raw
**● raw**: *`T`*
*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/48e57f9/packages/types/src/codec/Base.ts#L19)*
___
# Accessors
<a id="type"></a>
## Type
getType(): `E`
*Inherited from [Struct](_codec_struct_.struct.md).[Type](_codec_struct_.struct.md#type)*
*Defined in [codec/Struct.ts:76](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L76)*
**Returns:** `E`
___
<a id="blocknumber"></a>
## blockNumber
getblockNumber(): [BlockNumber](_blocknumber_.blocknumber.md)
*Defined in [Header.ts:53](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/Header.ts#L53)*
**Returns:** [BlockNumber](_blocknumber_.blocknumber.md)
___
<a id="digest"></a>
## digest
getdigest(): [Digest](_header_.digest.md)
*Defined in [Header.ts:57](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/Header.ts#L57)*
**Returns:** [Digest](_header_.digest.md)
___
<a id="extrinsicsroot"></a>
## extrinsicsRoot
getextrinsicsRoot(): [Hash](_hash_.hash.md)
*Defined in [Header.ts:61](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/Header.ts#L61)*
**Returns:** [Hash](_hash_.hash.md)
___
<a id="hash"></a>
## hash
gethash(): [Hash](_hash_.hash.md)
*Defined in [Header.ts:66](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/Header.ts#L66)*
**Returns:** [Hash](_hash_.hash.md)
___
<a id="parenthash"></a>
## parentHash
getparentHash(): [Hash](_hash_.hash.md)
*Defined in [Header.ts:72](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/Header.ts#L72)*
**Returns:** [Hash](_hash_.hash.md)
___
<a id="stateroot"></a>
## stateRoot
getstateRoot(): [Hash](_hash_.hash.md)
*Defined in [Header.ts:76](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/Header.ts#L76)*
**Returns:** [Hash](_hash_.hash.md)
___
# Methods
<a id="bytelength"></a>
## byteLength
▸ **byteLength**(): `number`
*Inherited from [Struct](_codec_struct_.struct.md).[byteLength](_codec_struct_.struct.md#bytelength)*
*Overrides [Base](_codec_base_.base.md).[byteLength](_codec_base_.base.md#bytelength)*
*Defined in [codec/Struct.ts:80](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L80)*
**Returns:** `number`
___
<a id="fromjson"></a>
## fromJSON
▸ **fromJSON**(input: *`any`*): [Struct](_codec_struct_.struct.md)<`S`, `T`, `V`, `E`>
*Inherited from [Struct](_codec_struct_.struct.md).[fromJSON](_codec_struct_.struct.md#fromjson)*
*Overrides [Base](_codec_base_.base.md).[fromJSON](_codec_base_.base.md#fromjson)*
*Defined in [codec/Struct.ts:86](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L86)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| input | `any` |
**Returns:** [Struct](_codec_struct_.struct.md)<`S`, `T`, `V`, `E`>
___
<a id="fromu8a"></a>
## fromU8a
▸ **fromU8a**(input: *`Uint8Array`*): [Struct](_codec_struct_.struct.md)<`S`, `T`, `V`, `E`>
*Inherited from [Struct](_codec_struct_.struct.md).[fromU8a](_codec_struct_.struct.md#fromu8a)*
*Overrides [Base](_codec_base_.base.md).[fromU8a](_codec_base_.base.md#fromu8a)*
*Defined in [codec/Struct.ts:101](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L101)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| input | `Uint8Array` |
**Returns:** [Struct](_codec_struct_.struct.md)<`S`, `T`, `V`, `E`>
___
<a id="get"></a>
## get
▸ **get**(index: *`number`*): [Base](_codec_base_.base.md)
*Inherited from [Struct](_codec_struct_.struct.md).[get](_codec_struct_.struct.md#get)*
*Defined in [codec/Struct.ts:111](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L111)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| index | `number` |
**Returns:** [Base](_codec_base_.base.md)
___
<a id="keys"></a>
## keys
▸ **keys**(): `Array`<`string`>
*Inherited from [Struct](_codec_struct_.struct.md).[keys](_codec_struct_.struct.md#keys)*
*Defined in [codec/Struct.ts:126](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L126)*
**Returns:** `Array`<`string`>
___
<a id="tojson"></a>
## toJSON
▸ **toJSON**(): `any`
*Inherited from [Struct](_codec_struct_.struct.md).[toJSON](_codec_struct_.struct.md#tojson)*
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
*Defined in [codec/Struct.ts:115](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L115)*
**Returns:** `any`
___
<a id="tostring"></a>
## toString
▸ **toString**(): `string`
*Inherited from [Struct](_codec_struct_.struct.md).[toString](_codec_struct_.struct.md#tostring)*
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
*Defined in [codec/Struct.ts:138](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L138)*
**Returns:** `string`
___
<a id="tou8a"></a>
## toU8a
▸ **toU8a**(isBare?: * `undefined` &#124; `false` &#124; `true`*): `Uint8Array`
*Inherited from [Struct](_codec_struct_.struct.md).[toU8a](_codec_struct_.struct.md#tou8a)*
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
*Defined in [codec/Struct.ts:130](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L130)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| `Optional` isBare | `undefined` &#124; `false` &#124; `true`|
**Returns:** `Uint8Array`
___
<a id="values"></a>
## values
▸ **values**(): `Array`<[Base](_codec_base_.base.md)>
*Inherited from [Struct](_codec_struct_.struct.md).[values](_codec_struct_.struct.md#values)*
*Defined in [codec/Struct.ts:147](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L147)*
**Returns:** `Array`<[Base](_codec_base_.base.md)>
___
<a id="decode"></a>
## `<Static>` decode
▸ **decode**<`S`,`V`,`T`>(Types: *`S`*, value: * `V` &#124; `Array`<`any`>*, isTuple: *`boolean`*): `T`
*Inherited from [Struct](_codec_struct_.struct.md).[decode](_codec_struct_.struct.md#decode)*
*Defined in [codec/Struct.ts:45](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L45)*
**Type parameters:**
#### S
#### V
#### T
**Parameters:**
| Param | Type |
| ------ | ------ |
| Types | `S` |
| value | `V` &#124; `Array`<`any`>|
| isTuple | `boolean` |
**Returns:** `T`
___
<a id="with"></a>
## `<Static>` with
▸ **with**<`S`>(Types: *`S`*): `object`
*Inherited from [Struct](_codec_struct_.struct.md).[with](_codec_struct_.struct.md#with)*
*Defined in [codec/Struct.ts:66](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L66)*
**Type parameters:**
#### S
**Parameters:**
| Param | Type |
| ------ | ------ |
| Types | `S` |
**Returns:** `object`
___
+313
View File
@@ -0,0 +1,313 @@
# Type parameters
#### S
#### T
#### V
#### E
# Hierarchy
↳ [Struct](_codec_struct_.struct.md)
**↳ KeyValue**
# Constructors
<a id="constructor"></a>
## constructor
⊕ **new KeyValue**(value?: *`KeyValueValue`*): [KeyValue](_keyvalue_.keyvalue.md)
*Overrides [Struct](_codec_struct_.struct.md).[constructor](_codec_struct_.struct.md#constructor)*
*Defined in [KeyValue.ts:22](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/KeyValue.ts#L22)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| `Optional` value | `KeyValueValue` |
**Returns:** [KeyValue](_keyvalue_.keyvalue.md)
___
# 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:27](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L27)*
___
<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:26](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L26)*
___
<a id="raw"></a>
## raw
**● raw**: *`T`*
*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/48e57f9/packages/types/src/codec/Base.ts#L19)*
___
# Accessors
<a id="type"></a>
## Type
getType(): `E`
*Inherited from [Struct](_codec_struct_.struct.md).[Type](_codec_struct_.struct.md#type)*
*Defined in [codec/Struct.ts:76](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L76)*
**Returns:** `E`
___
<a id="key"></a>
## key
getkey(): [StorageKey](_storagekey_.storagekey.md)
*Defined in [KeyValue.ts:30](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/KeyValue.ts#L30)*
**Returns:** [StorageKey](_storagekey_.storagekey.md)
___
<a id="value"></a>
## value
getvalue(): [StorageData](_storagedata_.storagedata.md)
*Defined in [KeyValue.ts:34](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/KeyValue.ts#L34)*
**Returns:** [StorageData](_storagedata_.storagedata.md)
___
# Methods
<a id="bytelength"></a>
## byteLength
▸ **byteLength**(): `number`
*Inherited from [Struct](_codec_struct_.struct.md).[byteLength](_codec_struct_.struct.md#bytelength)*
*Overrides [Base](_codec_base_.base.md).[byteLength](_codec_base_.base.md#bytelength)*
*Defined in [codec/Struct.ts:80](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L80)*
**Returns:** `number`
___
<a id="fromjson"></a>
## fromJSON
▸ **fromJSON**(input: *`any`*): [Struct](_codec_struct_.struct.md)<`S`, `T`, `V`, `E`>
*Inherited from [Struct](_codec_struct_.struct.md).[fromJSON](_codec_struct_.struct.md#fromjson)*
*Overrides [Base](_codec_base_.base.md).[fromJSON](_codec_base_.base.md#fromjson)*
*Defined in [codec/Struct.ts:86](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L86)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| input | `any` |
**Returns:** [Struct](_codec_struct_.struct.md)<`S`, `T`, `V`, `E`>
___
<a id="fromu8a"></a>
## fromU8a
▸ **fromU8a**(input: *`Uint8Array`*): [Struct](_codec_struct_.struct.md)<`S`, `T`, `V`, `E`>
*Inherited from [Struct](_codec_struct_.struct.md).[fromU8a](_codec_struct_.struct.md#fromu8a)*
*Overrides [Base](_codec_base_.base.md).[fromU8a](_codec_base_.base.md#fromu8a)*
*Defined in [codec/Struct.ts:101](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L101)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| input | `Uint8Array` |
**Returns:** [Struct](_codec_struct_.struct.md)<`S`, `T`, `V`, `E`>
___
<a id="get"></a>
## get
▸ **get**(index: *`number`*): [Base](_codec_base_.base.md)
*Inherited from [Struct](_codec_struct_.struct.md).[get](_codec_struct_.struct.md#get)*
*Defined in [codec/Struct.ts:111](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L111)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| index | `number` |
**Returns:** [Base](_codec_base_.base.md)
___
<a id="keys"></a>
## keys
▸ **keys**(): `Array`<`string`>
*Inherited from [Struct](_codec_struct_.struct.md).[keys](_codec_struct_.struct.md#keys)*
*Defined in [codec/Struct.ts:126](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L126)*
**Returns:** `Array`<`string`>
___
<a id="tojson"></a>
## toJSON
▸ **toJSON**(): `any`
*Inherited from [Struct](_codec_struct_.struct.md).[toJSON](_codec_struct_.struct.md#tojson)*
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
*Defined in [codec/Struct.ts:115](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L115)*
**Returns:** `any`
___
<a id="tostring"></a>
## toString
▸ **toString**(): `string`
*Inherited from [Struct](_codec_struct_.struct.md).[toString](_codec_struct_.struct.md#tostring)*
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
*Defined in [codec/Struct.ts:138](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L138)*
**Returns:** `string`
___
<a id="tou8a"></a>
## toU8a
▸ **toU8a**(isBare?: * `undefined` &#124; `false` &#124; `true`*): `Uint8Array`
*Inherited from [Struct](_codec_struct_.struct.md).[toU8a](_codec_struct_.struct.md#tou8a)*
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
*Defined in [codec/Struct.ts:130](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L130)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| `Optional` isBare | `undefined` &#124; `false` &#124; `true`|
**Returns:** `Uint8Array`
___
<a id="values"></a>
## values
▸ **values**(): `Array`<[Base](_codec_base_.base.md)>
*Inherited from [Struct](_codec_struct_.struct.md).[values](_codec_struct_.struct.md#values)*
*Defined in [codec/Struct.ts:147](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L147)*
**Returns:** `Array`<[Base](_codec_base_.base.md)>
___
<a id="decode"></a>
## `<Static>` decode
▸ **decode**<`S`,`V`,`T`>(Types: *`S`*, value: * `V` &#124; `Array`<`any`>*, isTuple: *`boolean`*): `T`
*Inherited from [Struct](_codec_struct_.struct.md).[decode](_codec_struct_.struct.md#decode)*
*Defined in [codec/Struct.ts:45](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L45)*
**Type parameters:**
#### S
#### V
#### T
**Parameters:**
| Param | Type |
| ------ | ------ |
| Types | `S` |
| value | `V` &#124; `Array`<`any`>|
| isTuple | `boolean` |
**Returns:** `T`
___
<a id="with"></a>
## `<Static>` with
▸ **with**<`S`>(Types: *`S`*): `object`
*Inherited from [Struct](_codec_struct_.struct.md).[with](_codec_struct_.struct.md#with)*
*Defined in [codec/Struct.ts:66](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L66)*
**Type parameters:**
#### S
**Parameters:**
| Param | Type |
| ------ | ------ |
| Types | `S` |
**Returns:** `object`
___
@@ -0,0 +1,315 @@
# Type parameters
#### S
#### T
#### V
#### E
# Hierarchy
↳ [Tuple](_codec_tuple_.tuple.md)
**↳ KeyValueOption**
# Constructors
<a id="constructor"></a>
## constructor
⊕ **new KeyValueOption**(value?: *[KeyValueOptionValue](../modules/_keyvalue_.md#keyvalueoptionvalue)*): [KeyValueOption](_keyvalue_.keyvalueoption.md)
*Overrides [Tuple](_codec_tuple_.tuple.md).[constructor](_codec_tuple_.tuple.md#constructor)*
*Defined in [KeyValue.ts:47](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/KeyValue.ts#L47)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| `Optional` value | [KeyValueOptionValue](../modules/_keyvalue_.md#keyvalueoptionvalue) |
**Returns:** [KeyValueOption](_keyvalue_.keyvalueoption.md)
___
# 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:27](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L27)*
___
<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:26](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L26)*
___
<a id="raw"></a>
## raw
**● raw**: *`T`*
*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/48e57f9/packages/types/src/codec/Base.ts#L19)*
___
# Accessors
<a id="type"></a>
## Type
getType(): `E`
*Inherited from [Struct](_codec_struct_.struct.md).[Type](_codec_struct_.struct.md#type)*
*Defined in [codec/Struct.ts:76](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L76)*
**Returns:** `E`
___
<a id="key"></a>
## key
getkey(): [StorageKey](_storagekey_.storagekey.md)
*Defined in [KeyValue.ts:55](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/KeyValue.ts#L55)*
**Returns:** [StorageKey](_storagekey_.storagekey.md)
___
<a id="value"></a>
## value
getvalue(): [Option](_codec_option_.option.md)<[StorageData](_storagedata_.storagedata.md)>
*Defined in [KeyValue.ts:59](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/KeyValue.ts#L59)*
**Returns:** [Option](_codec_option_.option.md)<[StorageData](_storagedata_.storagedata.md)>
___
# Methods
<a id="bytelength"></a>
## byteLength
▸ **byteLength**(): `number`
*Inherited from [Struct](_codec_struct_.struct.md).[byteLength](_codec_struct_.struct.md#bytelength)*
*Overrides [Base](_codec_base_.base.md).[byteLength](_codec_base_.base.md#bytelength)*
*Defined in [codec/Struct.ts:80](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L80)*
**Returns:** `number`
___
<a id="fromjson"></a>
## fromJSON
▸ **fromJSON**(input: *`any`*): [Tuple](_codec_tuple_.tuple.md)<`S`, `T`, `V`>
*Inherited from [Tuple](_codec_tuple_.tuple.md).[fromJSON](_codec_tuple_.tuple.md#fromjson)*
*Overrides [Struct](_codec_struct_.struct.md).[fromJSON](_codec_struct_.struct.md#fromjson)*
*Defined in [codec/Tuple.ts:34](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Tuple.ts#L34)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| input | `any` |
**Returns:** [Tuple](_codec_tuple_.tuple.md)<`S`, `T`, `V`>
___
<a id="fromu8a"></a>
## fromU8a
▸ **fromU8a**(input: *`Uint8Array`*): [Struct](_codec_struct_.struct.md)<`S`, `T`, `V`, `E`>
*Inherited from [Struct](_codec_struct_.struct.md).[fromU8a](_codec_struct_.struct.md#fromu8a)*
*Overrides [Base](_codec_base_.base.md).[fromU8a](_codec_base_.base.md#fromu8a)*
*Defined in [codec/Struct.ts:101](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L101)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| input | `Uint8Array` |
**Returns:** [Struct](_codec_struct_.struct.md)<`S`, `T`, `V`, `E`>
___
<a id="get"></a>
## get
▸ **get**(index: *`number`*): [Base](_codec_base_.base.md)
*Inherited from [Struct](_codec_struct_.struct.md).[get](_codec_struct_.struct.md#get)*
*Defined in [codec/Struct.ts:111](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L111)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| index | `number` |
**Returns:** [Base](_codec_base_.base.md)
___
<a id="keys"></a>
## keys
▸ **keys**(): `Array`<`string`>
*Inherited from [Struct](_codec_struct_.struct.md).[keys](_codec_struct_.struct.md#keys)*
*Defined in [codec/Struct.ts:126](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L126)*
**Returns:** `Array`<`string`>
___
<a id="tojson"></a>
## toJSON
▸ **toJSON**(): `any`
*Inherited from [Tuple](_codec_tuple_.tuple.md).[toJSON](_codec_tuple_.tuple.md#tojson)*
*Overrides [Struct](_codec_struct_.struct.md).[toJSON](_codec_struct_.struct.md#tojson)*
*Defined in [codec/Tuple.ts:46](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Tuple.ts#L46)*
**Returns:** `any`
___
<a id="tostring"></a>
## toString
▸ **toString**(): `string`
*Inherited from [Struct](_codec_struct_.struct.md).[toString](_codec_struct_.struct.md#tostring)*
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
*Defined in [codec/Struct.ts:138](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L138)*
**Returns:** `string`
___
<a id="tou8a"></a>
## toU8a
▸ **toU8a**(isBare?: * `undefined` &#124; `false` &#124; `true`*): `Uint8Array`
*Inherited from [Struct](_codec_struct_.struct.md).[toU8a](_codec_struct_.struct.md#tou8a)*
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
*Defined in [codec/Struct.ts:130](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L130)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| `Optional` isBare | `undefined` &#124; `false` &#124; `true`|
**Returns:** `Uint8Array`
___
<a id="values"></a>
## values
▸ **values**(): `Array`<[Base](_codec_base_.base.md)>
*Inherited from [Struct](_codec_struct_.struct.md).[values](_codec_struct_.struct.md#values)*
*Defined in [codec/Struct.ts:147](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L147)*
**Returns:** `Array`<[Base](_codec_base_.base.md)>
___
<a id="decode"></a>
## `<Static>` decode
▸ **decode**<`S`,`V`,`T`>(Types: *`S`*, value: * `V` &#124; `Array`<`any`>*, isTuple: *`boolean`*): `T`
*Inherited from [Struct](_codec_struct_.struct.md).[decode](_codec_struct_.struct.md#decode)*
*Defined in [codec/Struct.ts:45](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L45)*
**Type parameters:**
#### S
#### V
#### T
**Parameters:**
| Param | Type |
| ------ | ------ |
| Types | `S` |
| value | `V` &#124; `Array`<`any`>|
| isTuple | `boolean` |
**Returns:** `T`
___
<a id="with"></a>
## `<Static>` with
▸ **with**<`S`>(Types: *`S`*): `object`
*Inherited from [Tuple](_codec_tuple_.tuple.md).[with](_codec_tuple_.tuple.md#with)*
*Overrides [Struct](_codec_struct_.struct.md).[with](_codec_struct_.struct.md#with)*
*Defined in [codec/Tuple.ts:24](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Tuple.ts#L24)*
**Type parameters:**
#### S
**Parameters:**
| Param | Type |
| ------ | ------ |
| Types | `S` |
**Returns:** `object`
___
@@ -0,0 +1,313 @@
# Type parameters
#### S
#### T
#### V
#### E
# Hierarchy
↳ [Struct](_codec_struct_.struct.md)
**↳ CallMetadata**
# Constructors
<a id="constructor"></a>
## constructor
⊕ **new CallMetadata**(value?: *`any`*): [CallMetadata](_metadata_.callmetadata.md)
*Overrides [Struct](_codec_struct_.struct.md).[constructor](_codec_struct_.struct.md#constructor)*
*Defined in [Metadata.ts:123](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/Metadata.ts#L123)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| `Optional` value | `any` |
**Returns:** [CallMetadata](_metadata_.callmetadata.md)
___
# 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:27](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L27)*
___
<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:26](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L26)*
___
<a id="raw"></a>
## raw
**● raw**: *`T`*
*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/48e57f9/packages/types/src/codec/Base.ts#L19)*
___
# Accessors
<a id="type"></a>
## Type
getType(): `E`
*Inherited from [Struct](_codec_struct_.struct.md).[Type](_codec_struct_.struct.md#type)*
*Defined in [codec/Struct.ts:76](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L76)*
**Returns:** `E`
___
<a id="functions"></a>
## functions
getfunctions(): [Vector](_codec_vector_.vector.md)<[FunctionMetadata](_metadata_.functionmetadata.md)>
*Defined in [Metadata.ts:131](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/Metadata.ts#L131)*
**Returns:** [Vector](_codec_vector_.vector.md)<[FunctionMetadata](_metadata_.functionmetadata.md)>
___
<a id="name"></a>
## name
getname(): [Text](_text_.text.md)
*Defined in [Metadata.ts:135](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/Metadata.ts#L135)*
**Returns:** [Text](_text_.text.md)
___
# Methods
<a id="bytelength"></a>
## byteLength
▸ **byteLength**(): `number`
*Inherited from [Struct](_codec_struct_.struct.md).[byteLength](_codec_struct_.struct.md#bytelength)*
*Overrides [Base](_codec_base_.base.md).[byteLength](_codec_base_.base.md#bytelength)*
*Defined in [codec/Struct.ts:80](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L80)*
**Returns:** `number`
___
<a id="fromjson"></a>
## fromJSON
▸ **fromJSON**(input: *`any`*): [Struct](_codec_struct_.struct.md)<`S`, `T`, `V`, `E`>
*Inherited from [Struct](_codec_struct_.struct.md).[fromJSON](_codec_struct_.struct.md#fromjson)*
*Overrides [Base](_codec_base_.base.md).[fromJSON](_codec_base_.base.md#fromjson)*
*Defined in [codec/Struct.ts:86](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L86)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| input | `any` |
**Returns:** [Struct](_codec_struct_.struct.md)<`S`, `T`, `V`, `E`>
___
<a id="fromu8a"></a>
## fromU8a
▸ **fromU8a**(input: *`Uint8Array`*): [Struct](_codec_struct_.struct.md)<`S`, `T`, `V`, `E`>
*Inherited from [Struct](_codec_struct_.struct.md).[fromU8a](_codec_struct_.struct.md#fromu8a)*
*Overrides [Base](_codec_base_.base.md).[fromU8a](_codec_base_.base.md#fromu8a)*
*Defined in [codec/Struct.ts:101](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L101)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| input | `Uint8Array` |
**Returns:** [Struct](_codec_struct_.struct.md)<`S`, `T`, `V`, `E`>
___
<a id="get"></a>
## get
▸ **get**(index: *`number`*): [Base](_codec_base_.base.md)
*Inherited from [Struct](_codec_struct_.struct.md).[get](_codec_struct_.struct.md#get)*
*Defined in [codec/Struct.ts:111](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L111)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| index | `number` |
**Returns:** [Base](_codec_base_.base.md)
___
<a id="keys"></a>
## keys
▸ **keys**(): `Array`<`string`>
*Inherited from [Struct](_codec_struct_.struct.md).[keys](_codec_struct_.struct.md#keys)*
*Defined in [codec/Struct.ts:126](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L126)*
**Returns:** `Array`<`string`>
___
<a id="tojson"></a>
## toJSON
▸ **toJSON**(): `any`
*Inherited from [Struct](_codec_struct_.struct.md).[toJSON](_codec_struct_.struct.md#tojson)*
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
*Defined in [codec/Struct.ts:115](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L115)*
**Returns:** `any`
___
<a id="tostring"></a>
## toString
▸ **toString**(): `string`
*Inherited from [Struct](_codec_struct_.struct.md).[toString](_codec_struct_.struct.md#tostring)*
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
*Defined in [codec/Struct.ts:138](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L138)*
**Returns:** `string`
___
<a id="tou8a"></a>
## toU8a
▸ **toU8a**(isBare?: * `undefined` &#124; `false` &#124; `true`*): `Uint8Array`
*Inherited from [Struct](_codec_struct_.struct.md).[toU8a](_codec_struct_.struct.md#tou8a)*
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
*Defined in [codec/Struct.ts:130](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L130)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| `Optional` isBare | `undefined` &#124; `false` &#124; `true`|
**Returns:** `Uint8Array`
___
<a id="values"></a>
## values
▸ **values**(): `Array`<[Base](_codec_base_.base.md)>
*Inherited from [Struct](_codec_struct_.struct.md).[values](_codec_struct_.struct.md#values)*
*Defined in [codec/Struct.ts:147](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L147)*
**Returns:** `Array`<[Base](_codec_base_.base.md)>
___
<a id="decode"></a>
## `<Static>` decode
▸ **decode**<`S`,`V`,`T`>(Types: *`S`*, value: * `V` &#124; `Array`<`any`>*, isTuple: *`boolean`*): `T`
*Inherited from [Struct](_codec_struct_.struct.md).[decode](_codec_struct_.struct.md#decode)*
*Defined in [codec/Struct.ts:45](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L45)*
**Type parameters:**
#### S
#### V
#### T
**Parameters:**
| Param | Type |
| ------ | ------ |
| Types | `S` |
| value | `V` &#124; `Array`<`any`>|
| isTuple | `boolean` |
**Returns:** `T`
___
<a id="with"></a>
## `<Static>` with
▸ **with**<`S`>(Types: *`S`*): `object`
*Inherited from [Struct](_codec_struct_.struct.md).[with](_codec_struct_.struct.md#with)*
*Defined in [codec/Struct.ts:66](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L66)*
**Type parameters:**
#### S
**Parameters:**
| Param | Type |
| ------ | ------ |
| Types | `S` |
**Returns:** `object`
___
@@ -0,0 +1,324 @@
# Type parameters
#### S
#### T
#### V
#### E
# Hierarchy
↳ [Struct](_codec_struct_.struct.md)
**↳ EventMetadata**
# Constructors
<a id="constructor"></a>
## constructor
⊕ **new EventMetadata**(value?: *`any`*): [EventMetadata](_metadata_.eventmetadata.md)
*Overrides [Struct](_codec_struct_.struct.md).[constructor](_codec_struct_.struct.md#constructor)*
*Defined in [Metadata.ts:23](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/Metadata.ts#L23)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| `Optional` value | `any` |
**Returns:** [EventMetadata](_metadata_.eventmetadata.md)
___
# 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:27](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L27)*
___
<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:26](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L26)*
___
<a id="raw"></a>
## raw
**● raw**: *`T`*
*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/48e57f9/packages/types/src/codec/Base.ts#L19)*
___
# Accessors
<a id="type"></a>
## Type
getType(): `E`
*Inherited from [Struct](_codec_struct_.struct.md).[Type](_codec_struct_.struct.md#type)*
*Defined in [codec/Struct.ts:76](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L76)*
**Returns:** `E`
___
<a id="arguments"></a>
## arguments
getarguments(): [Vector](_codec_vector_.vector.md)<[Type](_type_.type.md)>
*Defined in [Metadata.ts:32](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/Metadata.ts#L32)*
**Returns:** [Vector](_codec_vector_.vector.md)<[Type](_type_.type.md)>
___
<a id="documentation"></a>
## documentation
getdocumentation(): [Vector](_codec_vector_.vector.md)<[Text](_text_.text.md)>
*Defined in [Metadata.ts:36](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/Metadata.ts#L36)*
**Returns:** [Vector](_codec_vector_.vector.md)<[Text](_text_.text.md)>
___
<a id="name"></a>
## name
getname(): [Text](_text_.text.md)
*Defined in [Metadata.ts:40](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/Metadata.ts#L40)*
**Returns:** [Text](_text_.text.md)
___
# Methods
<a id="bytelength"></a>
## byteLength
▸ **byteLength**(): `number`
*Inherited from [Struct](_codec_struct_.struct.md).[byteLength](_codec_struct_.struct.md#bytelength)*
*Overrides [Base](_codec_base_.base.md).[byteLength](_codec_base_.base.md#bytelength)*
*Defined in [codec/Struct.ts:80](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L80)*
**Returns:** `number`
___
<a id="fromjson"></a>
## fromJSON
▸ **fromJSON**(input: *`any`*): [Struct](_codec_struct_.struct.md)<`S`, `T`, `V`, `E`>
*Inherited from [Struct](_codec_struct_.struct.md).[fromJSON](_codec_struct_.struct.md#fromjson)*
*Overrides [Base](_codec_base_.base.md).[fromJSON](_codec_base_.base.md#fromjson)*
*Defined in [codec/Struct.ts:86](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L86)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| input | `any` |
**Returns:** [Struct](_codec_struct_.struct.md)<`S`, `T`, `V`, `E`>
___
<a id="fromu8a"></a>
## fromU8a
▸ **fromU8a**(input: *`Uint8Array`*): [Struct](_codec_struct_.struct.md)<`S`, `T`, `V`, `E`>
*Inherited from [Struct](_codec_struct_.struct.md).[fromU8a](_codec_struct_.struct.md#fromu8a)*
*Overrides [Base](_codec_base_.base.md).[fromU8a](_codec_base_.base.md#fromu8a)*
*Defined in [codec/Struct.ts:101](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L101)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| input | `Uint8Array` |
**Returns:** [Struct](_codec_struct_.struct.md)<`S`, `T`, `V`, `E`>
___
<a id="get"></a>
## get
▸ **get**(index: *`number`*): [Base](_codec_base_.base.md)
*Inherited from [Struct](_codec_struct_.struct.md).[get](_codec_struct_.struct.md#get)*
*Defined in [codec/Struct.ts:111](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L111)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| index | `number` |
**Returns:** [Base](_codec_base_.base.md)
___
<a id="keys"></a>
## keys
▸ **keys**(): `Array`<`string`>
*Inherited from [Struct](_codec_struct_.struct.md).[keys](_codec_struct_.struct.md#keys)*
*Defined in [codec/Struct.ts:126](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L126)*
**Returns:** `Array`<`string`>
___
<a id="tojson"></a>
## toJSON
▸ **toJSON**(): `any`
*Inherited from [Struct](_codec_struct_.struct.md).[toJSON](_codec_struct_.struct.md#tojson)*
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
*Defined in [codec/Struct.ts:115](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L115)*
**Returns:** `any`
___
<a id="tostring"></a>
## toString
▸ **toString**(): `string`
*Inherited from [Struct](_codec_struct_.struct.md).[toString](_codec_struct_.struct.md#tostring)*
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
*Defined in [codec/Struct.ts:138](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L138)*
**Returns:** `string`
___
<a id="tou8a"></a>
## toU8a
▸ **toU8a**(isBare?: * `undefined` &#124; `false` &#124; `true`*): `Uint8Array`
*Inherited from [Struct](_codec_struct_.struct.md).[toU8a](_codec_struct_.struct.md#tou8a)*
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
*Defined in [codec/Struct.ts:130](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L130)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| `Optional` isBare | `undefined` &#124; `false` &#124; `true`|
**Returns:** `Uint8Array`
___
<a id="values"></a>
## values
▸ **values**(): `Array`<[Base](_codec_base_.base.md)>
*Inherited from [Struct](_codec_struct_.struct.md).[values](_codec_struct_.struct.md#values)*
*Defined in [codec/Struct.ts:147](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L147)*
**Returns:** `Array`<[Base](_codec_base_.base.md)>
___
<a id="decode"></a>
## `<Static>` decode
▸ **decode**<`S`,`V`,`T`>(Types: *`S`*, value: * `V` &#124; `Array`<`any`>*, isTuple: *`boolean`*): `T`
*Inherited from [Struct](_codec_struct_.struct.md).[decode](_codec_struct_.struct.md#decode)*
*Defined in [codec/Struct.ts:45](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L45)*
**Type parameters:**
#### S
#### V
#### T
**Parameters:**
| Param | Type |
| ------ | ------ |
| Types | `S` |
| value | `V` &#124; `Array`<`any`>|
| isTuple | `boolean` |
**Returns:** `T`
___
<a id="with"></a>
## `<Static>` with
▸ **with**<`S`>(Types: *`S`*): `object`
*Inherited from [Struct](_codec_struct_.struct.md).[with](_codec_struct_.struct.md#with)*
*Defined in [codec/Struct.ts:66](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L66)*
**Type parameters:**
#### S
**Parameters:**
| Param | Type |
| ------ | ------ |
| Types | `S` |
**Returns:** `object`
___
@@ -0,0 +1,313 @@
# Type parameters
#### S
#### T
#### V
#### E
# Hierarchy
↳ [Struct](_codec_struct_.struct.md)
**↳ FunctionArgumentMetadata**
# Constructors
<a id="constructor"></a>
## constructor
⊕ **new FunctionArgumentMetadata**(value?: *`any`*): [FunctionArgumentMetadata](_metadata_.functionargumentmetadata.md)
*Overrides [Struct](_codec_struct_.struct.md).[constructor](_codec_struct_.struct.md#constructor)*
*Defined in [Metadata.ts:79](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/Metadata.ts#L79)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| `Optional` value | `any` |
**Returns:** [FunctionArgumentMetadata](_metadata_.functionargumentmetadata.md)
___
# 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:27](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L27)*
___
<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:26](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L26)*
___
<a id="raw"></a>
## raw
**● raw**: *`T`*
*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/48e57f9/packages/types/src/codec/Base.ts#L19)*
___
# Accessors
<a id="type"></a>
## Type
getType(): `E`
*Inherited from [Struct](_codec_struct_.struct.md).[Type](_codec_struct_.struct.md#type)*
*Defined in [codec/Struct.ts:76](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L76)*
**Returns:** `E`
___
<a id="name"></a>
## name
getname(): [Text](_text_.text.md)
*Defined in [Metadata.ts:87](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/Metadata.ts#L87)*
**Returns:** [Text](_text_.text.md)
___
<a id="type-1"></a>
## type
gettype(): [Type](_type_.type.md)
*Defined in [Metadata.ts:91](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/Metadata.ts#L91)*
**Returns:** [Type](_type_.type.md)
___
# Methods
<a id="bytelength"></a>
## byteLength
▸ **byteLength**(): `number`
*Inherited from [Struct](_codec_struct_.struct.md).[byteLength](_codec_struct_.struct.md#bytelength)*
*Overrides [Base](_codec_base_.base.md).[byteLength](_codec_base_.base.md#bytelength)*
*Defined in [codec/Struct.ts:80](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L80)*
**Returns:** `number`
___
<a id="fromjson"></a>
## fromJSON
▸ **fromJSON**(input: *`any`*): [Struct](_codec_struct_.struct.md)<`S`, `T`, `V`, `E`>
*Inherited from [Struct](_codec_struct_.struct.md).[fromJSON](_codec_struct_.struct.md#fromjson)*
*Overrides [Base](_codec_base_.base.md).[fromJSON](_codec_base_.base.md#fromjson)*
*Defined in [codec/Struct.ts:86](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L86)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| input | `any` |
**Returns:** [Struct](_codec_struct_.struct.md)<`S`, `T`, `V`, `E`>
___
<a id="fromu8a"></a>
## fromU8a
▸ **fromU8a**(input: *`Uint8Array`*): [Struct](_codec_struct_.struct.md)<`S`, `T`, `V`, `E`>
*Inherited from [Struct](_codec_struct_.struct.md).[fromU8a](_codec_struct_.struct.md#fromu8a)*
*Overrides [Base](_codec_base_.base.md).[fromU8a](_codec_base_.base.md#fromu8a)*
*Defined in [codec/Struct.ts:101](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L101)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| input | `Uint8Array` |
**Returns:** [Struct](_codec_struct_.struct.md)<`S`, `T`, `V`, `E`>
___
<a id="get"></a>
## get
▸ **get**(index: *`number`*): [Base](_codec_base_.base.md)
*Inherited from [Struct](_codec_struct_.struct.md).[get](_codec_struct_.struct.md#get)*
*Defined in [codec/Struct.ts:111](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L111)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| index | `number` |
**Returns:** [Base](_codec_base_.base.md)
___
<a id="keys"></a>
## keys
▸ **keys**(): `Array`<`string`>
*Inherited from [Struct](_codec_struct_.struct.md).[keys](_codec_struct_.struct.md#keys)*
*Defined in [codec/Struct.ts:126](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L126)*
**Returns:** `Array`<`string`>
___
<a id="tojson"></a>
## toJSON
▸ **toJSON**(): `any`
*Inherited from [Struct](_codec_struct_.struct.md).[toJSON](_codec_struct_.struct.md#tojson)*
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
*Defined in [codec/Struct.ts:115](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L115)*
**Returns:** `any`
___
<a id="tostring"></a>
## toString
▸ **toString**(): `string`
*Inherited from [Struct](_codec_struct_.struct.md).[toString](_codec_struct_.struct.md#tostring)*
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
*Defined in [codec/Struct.ts:138](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L138)*
**Returns:** `string`
___
<a id="tou8a"></a>
## toU8a
▸ **toU8a**(isBare?: * `undefined` &#124; `false` &#124; `true`*): `Uint8Array`
*Inherited from [Struct](_codec_struct_.struct.md).[toU8a](_codec_struct_.struct.md#tou8a)*
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
*Defined in [codec/Struct.ts:130](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L130)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| `Optional` isBare | `undefined` &#124; `false` &#124; `true`|
**Returns:** `Uint8Array`
___
<a id="values"></a>
## values
▸ **values**(): `Array`<[Base](_codec_base_.base.md)>
*Inherited from [Struct](_codec_struct_.struct.md).[values](_codec_struct_.struct.md#values)*
*Defined in [codec/Struct.ts:147](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L147)*
**Returns:** `Array`<[Base](_codec_base_.base.md)>
___
<a id="decode"></a>
## `<Static>` decode
▸ **decode**<`S`,`V`,`T`>(Types: *`S`*, value: * `V` &#124; `Array`<`any`>*, isTuple: *`boolean`*): `T`
*Inherited from [Struct](_codec_struct_.struct.md).[decode](_codec_struct_.struct.md#decode)*
*Defined in [codec/Struct.ts:45](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L45)*
**Type parameters:**
#### S
#### V
#### T
**Parameters:**
| Param | Type |
| ------ | ------ |
| Types | `S` |
| value | `V` &#124; `Array`<`any`>|
| isTuple | `boolean` |
**Returns:** `T`
___
<a id="with"></a>
## `<Static>` with
▸ **with**<`S`>(Types: *`S`*): `object`
*Inherited from [Struct](_codec_struct_.struct.md).[with](_codec_struct_.struct.md#with)*
*Defined in [codec/Struct.ts:66](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L66)*
**Type parameters:**
#### S
**Parameters:**
| Param | Type |
| ------ | ------ |
| Types | `S` |
**Returns:** `object`
___
@@ -0,0 +1,335 @@
# Type parameters
#### S
#### T
#### V
#### E
# Hierarchy
↳ [Struct](_codec_struct_.struct.md)
**↳ FunctionMetadata**
# Constructors
<a id="constructor"></a>
## constructor
⊕ **new FunctionMetadata**(value?: *`any`*): [FunctionMetadata](_metadata_.functionmetadata.md)
*Overrides [Struct](_codec_struct_.struct.md).[constructor](_codec_struct_.struct.md#constructor)*
*Defined in [Metadata.ts:96](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/Metadata.ts#L96)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| `Optional` value | `any` |
**Returns:** [FunctionMetadata](_metadata_.functionmetadata.md)
___
# 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:27](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L27)*
___
<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:26](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L26)*
___
<a id="raw"></a>
## raw
**● raw**: *`T`*
*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/48e57f9/packages/types/src/codec/Base.ts#L19)*
___
# Accessors
<a id="type"></a>
## Type
getType(): `E`
*Inherited from [Struct](_codec_struct_.struct.md).[Type](_codec_struct_.struct.md#type)*
*Defined in [codec/Struct.ts:76](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L76)*
**Returns:** `E`
___
<a id="arguments"></a>
## arguments
getarguments(): [Vector](_codec_vector_.vector.md)<[FunctionArgumentMetadata](_metadata_.functionargumentmetadata.md)>
*Defined in [Metadata.ts:106](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/Metadata.ts#L106)*
**Returns:** [Vector](_codec_vector_.vector.md)<[FunctionArgumentMetadata](_metadata_.functionargumentmetadata.md)>
___
<a id="documentation"></a>
## documentation
getdocumentation(): [Vector](_codec_vector_.vector.md)<[Text](_text_.text.md)>
*Defined in [Metadata.ts:110](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/Metadata.ts#L110)*
**Returns:** [Vector](_codec_vector_.vector.md)<[Text](_text_.text.md)>
___
<a id="id"></a>
## id
getid(): [U16](_u16_.u16.md)
*Defined in [Metadata.ts:114](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/Metadata.ts#L114)*
**Returns:** [U16](_u16_.u16.md)
___
<a id="name"></a>
## name
getname(): [Text](_text_.text.md)
*Defined in [Metadata.ts:118](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/Metadata.ts#L118)*
**Returns:** [Text](_text_.text.md)
___
# Methods
<a id="bytelength"></a>
## byteLength
▸ **byteLength**(): `number`
*Inherited from [Struct](_codec_struct_.struct.md).[byteLength](_codec_struct_.struct.md#bytelength)*
*Overrides [Base](_codec_base_.base.md).[byteLength](_codec_base_.base.md#bytelength)*
*Defined in [codec/Struct.ts:80](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L80)*
**Returns:** `number`
___
<a id="fromjson"></a>
## fromJSON
▸ **fromJSON**(input: *`any`*): [Struct](_codec_struct_.struct.md)<`S`, `T`, `V`, `E`>
*Inherited from [Struct](_codec_struct_.struct.md).[fromJSON](_codec_struct_.struct.md#fromjson)*
*Overrides [Base](_codec_base_.base.md).[fromJSON](_codec_base_.base.md#fromjson)*
*Defined in [codec/Struct.ts:86](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L86)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| input | `any` |
**Returns:** [Struct](_codec_struct_.struct.md)<`S`, `T`, `V`, `E`>
___
<a id="fromu8a"></a>
## fromU8a
▸ **fromU8a**(input: *`Uint8Array`*): [Struct](_codec_struct_.struct.md)<`S`, `T`, `V`, `E`>
*Inherited from [Struct](_codec_struct_.struct.md).[fromU8a](_codec_struct_.struct.md#fromu8a)*
*Overrides [Base](_codec_base_.base.md).[fromU8a](_codec_base_.base.md#fromu8a)*
*Defined in [codec/Struct.ts:101](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L101)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| input | `Uint8Array` |
**Returns:** [Struct](_codec_struct_.struct.md)<`S`, `T`, `V`, `E`>
___
<a id="get"></a>
## get
▸ **get**(index: *`number`*): [Base](_codec_base_.base.md)
*Inherited from [Struct](_codec_struct_.struct.md).[get](_codec_struct_.struct.md#get)*
*Defined in [codec/Struct.ts:111](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L111)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| index | `number` |
**Returns:** [Base](_codec_base_.base.md)
___
<a id="keys"></a>
## keys
▸ **keys**(): `Array`<`string`>
*Inherited from [Struct](_codec_struct_.struct.md).[keys](_codec_struct_.struct.md#keys)*
*Defined in [codec/Struct.ts:126](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L126)*
**Returns:** `Array`<`string`>
___
<a id="tojson"></a>
## toJSON
▸ **toJSON**(): `any`
*Inherited from [Struct](_codec_struct_.struct.md).[toJSON](_codec_struct_.struct.md#tojson)*
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
*Defined in [codec/Struct.ts:115](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L115)*
**Returns:** `any`
___
<a id="tostring"></a>
## toString
▸ **toString**(): `string`
*Inherited from [Struct](_codec_struct_.struct.md).[toString](_codec_struct_.struct.md#tostring)*
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
*Defined in [codec/Struct.ts:138](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L138)*
**Returns:** `string`
___
<a id="tou8a"></a>
## toU8a
▸ **toU8a**(isBare?: * `undefined` &#124; `false` &#124; `true`*): `Uint8Array`
*Inherited from [Struct](_codec_struct_.struct.md).[toU8a](_codec_struct_.struct.md#tou8a)*
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
*Defined in [codec/Struct.ts:130](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L130)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| `Optional` isBare | `undefined` &#124; `false` &#124; `true`|
**Returns:** `Uint8Array`
___
<a id="values"></a>
## values
▸ **values**(): `Array`<[Base](_codec_base_.base.md)>
*Inherited from [Struct](_codec_struct_.struct.md).[values](_codec_struct_.struct.md#values)*
*Defined in [codec/Struct.ts:147](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L147)*
**Returns:** `Array`<[Base](_codec_base_.base.md)>
___
<a id="decode"></a>
## `<Static>` decode
▸ **decode**<`S`,`V`,`T`>(Types: *`S`*, value: * `V` &#124; `Array`<`any`>*, isTuple: *`boolean`*): `T`
*Inherited from [Struct](_codec_struct_.struct.md).[decode](_codec_struct_.struct.md#decode)*
*Defined in [codec/Struct.ts:45](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L45)*
**Type parameters:**
#### S
#### V
#### T
**Parameters:**
| Param | Type |
| ------ | ------ |
| Types | `S` |
| value | `V` &#124; `Array`<`any`>|
| isTuple | `boolean` |
**Returns:** `T`
___
<a id="with"></a>
## `<Static>` with
▸ **with**<`S`>(Types: *`S`*): `object`
*Inherited from [Struct](_codec_struct_.struct.md).[with](_codec_struct_.struct.md#with)*
*Defined in [codec/Struct.ts:66](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L66)*
**Type parameters:**
#### S
**Parameters:**
| Param | Type |
| ------ | ------ |
| Types | `S` |
**Returns:** `object`
___
@@ -0,0 +1,313 @@
# Type parameters
#### S
#### T
#### V
#### E
# Hierarchy
↳ [Struct](_codec_struct_.struct.md)
**↳ ModuleMetadata**
# Constructors
<a id="constructor"></a>
## constructor
⊕ **new ModuleMetadata**(value?: *`any`*): [ModuleMetadata](_metadata_.modulemetadata.md)
*Overrides [Struct](_codec_struct_.struct.md).[constructor](_codec_struct_.struct.md#constructor)*
*Defined in [Metadata.ts:140](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/Metadata.ts#L140)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| `Optional` value | `any` |
**Returns:** [ModuleMetadata](_metadata_.modulemetadata.md)
___
# 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:27](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L27)*
___
<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:26](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L26)*
___
<a id="raw"></a>
## raw
**● raw**: *`T`*
*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/48e57f9/packages/types/src/codec/Base.ts#L19)*
___
# Accessors
<a id="type"></a>
## Type
getType(): `E`
*Inherited from [Struct](_codec_struct_.struct.md).[Type](_codec_struct_.struct.md#type)*
*Defined in [codec/Struct.ts:76](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L76)*
**Returns:** `E`
___
<a id="call"></a>
## call
getcall(): [CallMetadata](_metadata_.callmetadata.md)
*Defined in [Metadata.ts:148](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/Metadata.ts#L148)*
**Returns:** [CallMetadata](_metadata_.callmetadata.md)
___
<a id="name"></a>
## name
getname(): [Text](_text_.text.md)
*Defined in [Metadata.ts:152](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/Metadata.ts#L152)*
**Returns:** [Text](_text_.text.md)
___
# Methods
<a id="bytelength"></a>
## byteLength
▸ **byteLength**(): `number`
*Inherited from [Struct](_codec_struct_.struct.md).[byteLength](_codec_struct_.struct.md#bytelength)*
*Overrides [Base](_codec_base_.base.md).[byteLength](_codec_base_.base.md#bytelength)*
*Defined in [codec/Struct.ts:80](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L80)*
**Returns:** `number`
___
<a id="fromjson"></a>
## fromJSON
▸ **fromJSON**(input: *`any`*): [Struct](_codec_struct_.struct.md)<`S`, `T`, `V`, `E`>
*Inherited from [Struct](_codec_struct_.struct.md).[fromJSON](_codec_struct_.struct.md#fromjson)*
*Overrides [Base](_codec_base_.base.md).[fromJSON](_codec_base_.base.md#fromjson)*
*Defined in [codec/Struct.ts:86](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L86)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| input | `any` |
**Returns:** [Struct](_codec_struct_.struct.md)<`S`, `T`, `V`, `E`>
___
<a id="fromu8a"></a>
## fromU8a
▸ **fromU8a**(input: *`Uint8Array`*): [Struct](_codec_struct_.struct.md)<`S`, `T`, `V`, `E`>
*Inherited from [Struct](_codec_struct_.struct.md).[fromU8a](_codec_struct_.struct.md#fromu8a)*
*Overrides [Base](_codec_base_.base.md).[fromU8a](_codec_base_.base.md#fromu8a)*
*Defined in [codec/Struct.ts:101](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L101)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| input | `Uint8Array` |
**Returns:** [Struct](_codec_struct_.struct.md)<`S`, `T`, `V`, `E`>
___
<a id="get"></a>
## get
▸ **get**(index: *`number`*): [Base](_codec_base_.base.md)
*Inherited from [Struct](_codec_struct_.struct.md).[get](_codec_struct_.struct.md#get)*
*Defined in [codec/Struct.ts:111](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L111)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| index | `number` |
**Returns:** [Base](_codec_base_.base.md)
___
<a id="keys"></a>
## keys
▸ **keys**(): `Array`<`string`>
*Inherited from [Struct](_codec_struct_.struct.md).[keys](_codec_struct_.struct.md#keys)*
*Defined in [codec/Struct.ts:126](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L126)*
**Returns:** `Array`<`string`>
___
<a id="tojson"></a>
## toJSON
▸ **toJSON**(): `any`
*Inherited from [Struct](_codec_struct_.struct.md).[toJSON](_codec_struct_.struct.md#tojson)*
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
*Defined in [codec/Struct.ts:115](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L115)*
**Returns:** `any`
___
<a id="tostring"></a>
## toString
▸ **toString**(): `string`
*Inherited from [Struct](_codec_struct_.struct.md).[toString](_codec_struct_.struct.md#tostring)*
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
*Defined in [codec/Struct.ts:138](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L138)*
**Returns:** `string`
___
<a id="tou8a"></a>
## toU8a
▸ **toU8a**(isBare?: * `undefined` &#124; `false` &#124; `true`*): `Uint8Array`
*Inherited from [Struct](_codec_struct_.struct.md).[toU8a](_codec_struct_.struct.md#tou8a)*
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
*Defined in [codec/Struct.ts:130](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L130)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| `Optional` isBare | `undefined` &#124; `false` &#124; `true`|
**Returns:** `Uint8Array`
___
<a id="values"></a>
## values
▸ **values**(): `Array`<[Base](_codec_base_.base.md)>
*Inherited from [Struct](_codec_struct_.struct.md).[values](_codec_struct_.struct.md#values)*
*Defined in [codec/Struct.ts:147](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L147)*
**Returns:** `Array`<[Base](_codec_base_.base.md)>
___
<a id="decode"></a>
## `<Static>` decode
▸ **decode**<`S`,`V`,`T`>(Types: *`S`*, value: * `V` &#124; `Array`<`any`>*, isTuple: *`boolean`*): `T`
*Inherited from [Struct](_codec_struct_.struct.md).[decode](_codec_struct_.struct.md#decode)*
*Defined in [codec/Struct.ts:45](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L45)*
**Type parameters:**
#### S
#### V
#### T
**Parameters:**
| Param | Type |
| ------ | ------ |
| Types | `S` |
| value | `V` &#124; `Array`<`any`>|
| isTuple | `boolean` |
**Returns:** `T`
___
<a id="with"></a>
## `<Static>` with
▸ **with**<`S`>(Types: *`S`*): `object`
*Inherited from [Struct](_codec_struct_.struct.md).[with](_codec_struct_.struct.md#with)*
*Defined in [codec/Struct.ts:66](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L66)*
**Type parameters:**
#### S
**Parameters:**
| Param | Type |
| ------ | ------ |
| Types | `S` |
**Returns:** `object`
___
@@ -0,0 +1,313 @@
# Type parameters
#### S
#### T
#### V
#### E
# Hierarchy
↳ [Struct](_codec_struct_.struct.md)
**↳ OuterEventMetadata**
# Constructors
<a id="constructor"></a>
## constructor
⊕ **new OuterEventMetadata**(value?: *`any`*): [OuterEventMetadata](_metadata_.outereventmetadata.md)
*Overrides [Struct](_codec_struct_.struct.md).[constructor](_codec_struct_.struct.md#constructor)*
*Defined in [Metadata.ts:62](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/Metadata.ts#L62)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| `Optional` value | `any` |
**Returns:** [OuterEventMetadata](_metadata_.outereventmetadata.md)
___
# 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:27](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L27)*
___
<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:26](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L26)*
___
<a id="raw"></a>
## raw
**● raw**: *`T`*
*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/48e57f9/packages/types/src/codec/Base.ts#L19)*
___
# Accessors
<a id="type"></a>
## Type
getType(): `E`
*Inherited from [Struct](_codec_struct_.struct.md).[Type](_codec_struct_.struct.md#type)*
*Defined in [codec/Struct.ts:76](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L76)*
**Returns:** `E`
___
<a id="events"></a>
## events
getevents(): [Vector](_codec_vector_.vector.md)<[OuterEventMetadataEvent](_metadata_.outereventmetadataevent.md)>
*Defined in [Metadata.ts:70](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/Metadata.ts#L70)*
**Returns:** [Vector](_codec_vector_.vector.md)<[OuterEventMetadataEvent](_metadata_.outereventmetadataevent.md)>
___
<a id="name"></a>
## name
getname(): [Text](_text_.text.md)
*Defined in [Metadata.ts:74](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/Metadata.ts#L74)*
**Returns:** [Text](_text_.text.md)
___
# Methods
<a id="bytelength"></a>
## byteLength
▸ **byteLength**(): `number`
*Inherited from [Struct](_codec_struct_.struct.md).[byteLength](_codec_struct_.struct.md#bytelength)*
*Overrides [Base](_codec_base_.base.md).[byteLength](_codec_base_.base.md#bytelength)*
*Defined in [codec/Struct.ts:80](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L80)*
**Returns:** `number`
___
<a id="fromjson"></a>
## fromJSON
▸ **fromJSON**(input: *`any`*): [Struct](_codec_struct_.struct.md)<`S`, `T`, `V`, `E`>
*Inherited from [Struct](_codec_struct_.struct.md).[fromJSON](_codec_struct_.struct.md#fromjson)*
*Overrides [Base](_codec_base_.base.md).[fromJSON](_codec_base_.base.md#fromjson)*
*Defined in [codec/Struct.ts:86](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L86)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| input | `any` |
**Returns:** [Struct](_codec_struct_.struct.md)<`S`, `T`, `V`, `E`>
___
<a id="fromu8a"></a>
## fromU8a
▸ **fromU8a**(input: *`Uint8Array`*): [Struct](_codec_struct_.struct.md)<`S`, `T`, `V`, `E`>
*Inherited from [Struct](_codec_struct_.struct.md).[fromU8a](_codec_struct_.struct.md#fromu8a)*
*Overrides [Base](_codec_base_.base.md).[fromU8a](_codec_base_.base.md#fromu8a)*
*Defined in [codec/Struct.ts:101](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L101)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| input | `Uint8Array` |
**Returns:** [Struct](_codec_struct_.struct.md)<`S`, `T`, `V`, `E`>
___
<a id="get"></a>
## get
▸ **get**(index: *`number`*): [Base](_codec_base_.base.md)
*Inherited from [Struct](_codec_struct_.struct.md).[get](_codec_struct_.struct.md#get)*
*Defined in [codec/Struct.ts:111](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L111)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| index | `number` |
**Returns:** [Base](_codec_base_.base.md)
___
<a id="keys"></a>
## keys
▸ **keys**(): `Array`<`string`>
*Inherited from [Struct](_codec_struct_.struct.md).[keys](_codec_struct_.struct.md#keys)*
*Defined in [codec/Struct.ts:126](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L126)*
**Returns:** `Array`<`string`>
___
<a id="tojson"></a>
## toJSON
▸ **toJSON**(): `any`
*Inherited from [Struct](_codec_struct_.struct.md).[toJSON](_codec_struct_.struct.md#tojson)*
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
*Defined in [codec/Struct.ts:115](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L115)*
**Returns:** `any`
___
<a id="tostring"></a>
## toString
▸ **toString**(): `string`
*Inherited from [Struct](_codec_struct_.struct.md).[toString](_codec_struct_.struct.md#tostring)*
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
*Defined in [codec/Struct.ts:138](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L138)*
**Returns:** `string`
___
<a id="tou8a"></a>
## toU8a
▸ **toU8a**(isBare?: * `undefined` &#124; `false` &#124; `true`*): `Uint8Array`
*Inherited from [Struct](_codec_struct_.struct.md).[toU8a](_codec_struct_.struct.md#tou8a)*
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
*Defined in [codec/Struct.ts:130](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L130)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| `Optional` isBare | `undefined` &#124; `false` &#124; `true`|
**Returns:** `Uint8Array`
___
<a id="values"></a>
## values
▸ **values**(): `Array`<[Base](_codec_base_.base.md)>
*Inherited from [Struct](_codec_struct_.struct.md).[values](_codec_struct_.struct.md#values)*
*Defined in [codec/Struct.ts:147](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L147)*
**Returns:** `Array`<[Base](_codec_base_.base.md)>
___
<a id="decode"></a>
## `<Static>` decode
▸ **decode**<`S`,`V`,`T`>(Types: *`S`*, value: * `V` &#124; `Array`<`any`>*, isTuple: *`boolean`*): `T`
*Inherited from [Struct](_codec_struct_.struct.md).[decode](_codec_struct_.struct.md#decode)*
*Defined in [codec/Struct.ts:45](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L45)*
**Type parameters:**
#### S
#### V
#### T
**Parameters:**
| Param | Type |
| ------ | ------ |
| Types | `S` |
| value | `V` &#124; `Array`<`any`>|
| isTuple | `boolean` |
**Returns:** `T`
___
<a id="with"></a>
## `<Static>` with
▸ **with**<`S`>(Types: *`S`*): `object`
*Inherited from [Struct](_codec_struct_.struct.md).[with](_codec_struct_.struct.md#with)*
*Defined in [codec/Struct.ts:66](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L66)*
**Type parameters:**
#### S
**Parameters:**
| Param | Type |
| ------ | ------ |
| Types | `S` |
**Returns:** `object`
___
@@ -0,0 +1,313 @@
# Type parameters
#### S
#### T
#### V
#### E
# Hierarchy
↳ [Struct](_codec_struct_.struct.md)
**↳ OuterEventMetadataEvent**
# Constructors
<a id="constructor"></a>
## constructor
⊕ **new OuterEventMetadataEvent**(value?: *`any`*): [OuterEventMetadataEvent](_metadata_.outereventmetadataevent.md)
*Overrides [Struct](_codec_struct_.struct.md).[constructor](_codec_struct_.struct.md#constructor)*
*Defined in [Metadata.ts:45](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/Metadata.ts#L45)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| `Optional` value | `any` |
**Returns:** [OuterEventMetadataEvent](_metadata_.outereventmetadataevent.md)
___
# 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:27](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L27)*
___
<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:26](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L26)*
___
<a id="raw"></a>
## raw
**● raw**: *`T`*
*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/48e57f9/packages/types/src/codec/Base.ts#L19)*
___
# Accessors
<a id="type"></a>
## Type
getType(): `E`
*Inherited from [Struct](_codec_struct_.struct.md).[Type](_codec_struct_.struct.md#type)*
*Defined in [codec/Struct.ts:76](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L76)*
**Returns:** `E`
___
<a id="events"></a>
## events
getevents(): [Vector](_codec_vector_.vector.md)<[EventMetadata](_metadata_.eventmetadata.md)>
*Defined in [Metadata.ts:53](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/Metadata.ts#L53)*
**Returns:** [Vector](_codec_vector_.vector.md)<[EventMetadata](_metadata_.eventmetadata.md)>
___
<a id="name"></a>
## name
getname(): [Text](_text_.text.md)
*Defined in [Metadata.ts:57](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/Metadata.ts#L57)*
**Returns:** [Text](_text_.text.md)
___
# Methods
<a id="bytelength"></a>
## byteLength
▸ **byteLength**(): `number`
*Inherited from [Struct](_codec_struct_.struct.md).[byteLength](_codec_struct_.struct.md#bytelength)*
*Overrides [Base](_codec_base_.base.md).[byteLength](_codec_base_.base.md#bytelength)*
*Defined in [codec/Struct.ts:80](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L80)*
**Returns:** `number`
___
<a id="fromjson"></a>
## fromJSON
▸ **fromJSON**(input: *`any`*): [Struct](_codec_struct_.struct.md)<`S`, `T`, `V`, `E`>
*Inherited from [Struct](_codec_struct_.struct.md).[fromJSON](_codec_struct_.struct.md#fromjson)*
*Overrides [Base](_codec_base_.base.md).[fromJSON](_codec_base_.base.md#fromjson)*
*Defined in [codec/Struct.ts:86](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L86)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| input | `any` |
**Returns:** [Struct](_codec_struct_.struct.md)<`S`, `T`, `V`, `E`>
___
<a id="fromu8a"></a>
## fromU8a
▸ **fromU8a**(input: *`Uint8Array`*): [Struct](_codec_struct_.struct.md)<`S`, `T`, `V`, `E`>
*Inherited from [Struct](_codec_struct_.struct.md).[fromU8a](_codec_struct_.struct.md#fromu8a)*
*Overrides [Base](_codec_base_.base.md).[fromU8a](_codec_base_.base.md#fromu8a)*
*Defined in [codec/Struct.ts:101](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L101)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| input | `Uint8Array` |
**Returns:** [Struct](_codec_struct_.struct.md)<`S`, `T`, `V`, `E`>
___
<a id="get"></a>
## get
▸ **get**(index: *`number`*): [Base](_codec_base_.base.md)
*Inherited from [Struct](_codec_struct_.struct.md).[get](_codec_struct_.struct.md#get)*
*Defined in [codec/Struct.ts:111](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L111)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| index | `number` |
**Returns:** [Base](_codec_base_.base.md)
___
<a id="keys"></a>
## keys
▸ **keys**(): `Array`<`string`>
*Inherited from [Struct](_codec_struct_.struct.md).[keys](_codec_struct_.struct.md#keys)*
*Defined in [codec/Struct.ts:126](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L126)*
**Returns:** `Array`<`string`>
___
<a id="tojson"></a>
## toJSON
▸ **toJSON**(): `any`
*Inherited from [Struct](_codec_struct_.struct.md).[toJSON](_codec_struct_.struct.md#tojson)*
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
*Defined in [codec/Struct.ts:115](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L115)*
**Returns:** `any`
___
<a id="tostring"></a>
## toString
▸ **toString**(): `string`
*Inherited from [Struct](_codec_struct_.struct.md).[toString](_codec_struct_.struct.md#tostring)*
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
*Defined in [codec/Struct.ts:138](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L138)*
**Returns:** `string`
___
<a id="tou8a"></a>
## toU8a
▸ **toU8a**(isBare?: * `undefined` &#124; `false` &#124; `true`*): `Uint8Array`
*Inherited from [Struct](_codec_struct_.struct.md).[toU8a](_codec_struct_.struct.md#tou8a)*
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
*Defined in [codec/Struct.ts:130](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L130)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| `Optional` isBare | `undefined` &#124; `false` &#124; `true`|
**Returns:** `Uint8Array`
___
<a id="values"></a>
## values
▸ **values**(): `Array`<[Base](_codec_base_.base.md)>
*Inherited from [Struct](_codec_struct_.struct.md).[values](_codec_struct_.struct.md#values)*
*Defined in [codec/Struct.ts:147](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L147)*
**Returns:** `Array`<[Base](_codec_base_.base.md)>
___
<a id="decode"></a>
## `<Static>` decode
▸ **decode**<`S`,`V`,`T`>(Types: *`S`*, value: * `V` &#124; `Array`<`any`>*, isTuple: *`boolean`*): `T`
*Inherited from [Struct](_codec_struct_.struct.md).[decode](_codec_struct_.struct.md#decode)*
*Defined in [codec/Struct.ts:45](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L45)*
**Type parameters:**
#### S
#### V
#### T
**Parameters:**
| Param | Type |
| ------ | ------ |
| Types | `S` |
| value | `V` &#124; `Array`<`any`>|
| isTuple | `boolean` |
**Returns:** `T`
___
<a id="with"></a>
## `<Static>` with
▸ **with**<`S`>(Types: *`S`*): `object`
*Inherited from [Struct](_codec_struct_.struct.md).[with](_codec_struct_.struct.md#with)*
*Defined in [codec/Struct.ts:66](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L66)*
**Type parameters:**
#### S
**Parameters:**
| Param | Type |
| ------ | ------ |
| Types | `S` |
**Returns:** `object`
___
@@ -0,0 +1,320 @@
# Type parameters
#### S
#### T
#### V
#### E
# Hierarchy
↳ [Struct](_codec_struct_.struct.md)
**↳ RuntimeMetadata**
# Constructors
<a id="constructor"></a>
## constructor
⊕ **new RuntimeMetadata**(value?: *`any`*): [RuntimeMetadata](_metadata_.runtimemetadata.md)
*Overrides [Struct](_codec_struct_.struct.md).[constructor](_codec_struct_.struct.md#constructor)*
*Defined in [Metadata.ts:280](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/Metadata.ts#L280)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| `Optional` value | `any` |
**Returns:** [RuntimeMetadata](_metadata_.runtimemetadata.md)
___
# 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:27](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L27)*
___
<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:26](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L26)*
___
<a id="raw"></a>
## raw
**● raw**: *`T`*
*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/48e57f9/packages/types/src/codec/Base.ts#L19)*
___
# Accessors
<a id="type"></a>
## Type
getType(): `E`
*Inherited from [Struct](_codec_struct_.struct.md).[Type](_codec_struct_.struct.md#type)*
*Defined in [codec/Struct.ts:76](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L76)*
**Returns:** `E`
___
<a id="events"></a>
## events
getevents(): [Vector](_codec_vector_.vector.md)<[OuterEventMetadataEvent](_metadata_.outereventmetadataevent.md)>
*Defined in [Metadata.ts:303](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/Metadata.ts#L303)*
**Returns:** [Vector](_codec_vector_.vector.md)<[OuterEventMetadataEvent](_metadata_.outereventmetadataevent.md)>
___
<a id="modules"></a>
## modules
getmodules(): [Vector](_codec_vector_.vector.md)<[RuntimeModuleMetadata](_metadata_.runtimemodulemetadata.md)>
*Defined in [Metadata.ts:307](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/Metadata.ts#L307)*
**Returns:** [Vector](_codec_vector_.vector.md)<[RuntimeModuleMetadata](_metadata_.runtimemodulemetadata.md)>
___
# Methods
<a id="bytelength"></a>
## byteLength
▸ **byteLength**(): `number`
*Inherited from [Struct](_codec_struct_.struct.md).[byteLength](_codec_struct_.struct.md#bytelength)*
*Overrides [Base](_codec_base_.base.md).[byteLength](_codec_base_.base.md#bytelength)*
*Defined in [codec/Struct.ts:80](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L80)*
**Returns:** `number`
___
<a id="fromjson"></a>
## fromJSON
▸ **fromJSON**(input: * `Uint8Array` &#124; `string` &#124; `Array`<`number`>*): [RuntimeMetadata](_metadata_.runtimemetadata.md)
*Overrides [Struct](_codec_struct_.struct.md).[fromJSON](_codec_struct_.struct.md#fromjson)*
*Defined in [Metadata.ts:290](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/Metadata.ts#L290)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| input | `Uint8Array` &#124; `string` &#124; `Array`<`number`>|
**Returns:** [RuntimeMetadata](_metadata_.runtimemetadata.md)
___
<a id="fromu8a"></a>
## fromU8a
▸ **fromU8a**(input: *`Uint8Array`*): [Struct](_codec_struct_.struct.md)<`S`, `T`, `V`, `E`>
*Inherited from [Struct](_codec_struct_.struct.md).[fromU8a](_codec_struct_.struct.md#fromu8a)*
*Overrides [Base](_codec_base_.base.md).[fromU8a](_codec_base_.base.md#fromu8a)*
*Defined in [codec/Struct.ts:101](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L101)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| input | `Uint8Array` |
**Returns:** [Struct](_codec_struct_.struct.md)<`S`, `T`, `V`, `E`>
___
<a id="get"></a>
## get
▸ **get**(index: *`number`*): [Base](_codec_base_.base.md)
*Inherited from [Struct](_codec_struct_.struct.md).[get](_codec_struct_.struct.md#get)*
*Defined in [codec/Struct.ts:111](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L111)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| index | `number` |
**Returns:** [Base](_codec_base_.base.md)
___
<a id="getuniqtypes"></a>
## getUniqTypes
▸ **getUniqTypes**(): `Array`<`string`>
*Defined in [Metadata.ts:312](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/Metadata.ts#L312)*
**Returns:** `Array`<`string`>
___
<a id="keys"></a>
## keys
▸ **keys**(): `Array`<`string`>
*Inherited from [Struct](_codec_struct_.struct.md).[keys](_codec_struct_.struct.md#keys)*
*Defined in [codec/Struct.ts:126](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L126)*
**Returns:** `Array`<`string`>
___
<a id="tojson"></a>
## toJSON
▸ **toJSON**(): `any`
*Overrides [Struct](_codec_struct_.struct.md).[toJSON](_codec_struct_.struct.md#tojson)*
*Defined in [Metadata.ts:299](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/Metadata.ts#L299)*
**Returns:** `any`
___
<a id="tostring"></a>
## toString
▸ **toString**(): `string`
*Inherited from [Struct](_codec_struct_.struct.md).[toString](_codec_struct_.struct.md#tostring)*
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
*Defined in [codec/Struct.ts:138](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L138)*
**Returns:** `string`
___
<a id="tou8a"></a>
## toU8a
▸ **toU8a**(isBare?: * `undefined` &#124; `false` &#124; `true`*): `Uint8Array`
*Inherited from [Struct](_codec_struct_.struct.md).[toU8a](_codec_struct_.struct.md#tou8a)*
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
*Defined in [codec/Struct.ts:130](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L130)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| `Optional` isBare | `undefined` &#124; `false` &#124; `true`|
**Returns:** `Uint8Array`
___
<a id="values"></a>
## values
▸ **values**(): `Array`<[Base](_codec_base_.base.md)>
*Inherited from [Struct](_codec_struct_.struct.md).[values](_codec_struct_.struct.md#values)*
*Defined in [codec/Struct.ts:147](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L147)*
**Returns:** `Array`<[Base](_codec_base_.base.md)>
___
<a id="decode"></a>
## `<Static>` decode
▸ **decode**<`S`,`V`,`T`>(Types: *`S`*, value: * `V` &#124; `Array`<`any`>*, isTuple: *`boolean`*): `T`
*Inherited from [Struct](_codec_struct_.struct.md).[decode](_codec_struct_.struct.md#decode)*
*Defined in [codec/Struct.ts:45](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L45)*
**Type parameters:**
#### S
#### V
#### T
**Parameters:**
| Param | Type |
| ------ | ------ |
| Types | `S` |
| value | `V` &#124; `Array`<`any`>|
| isTuple | `boolean` |
**Returns:** `T`
___
<a id="with"></a>
## `<Static>` with
▸ **with**<`S`>(Types: *`S`*): `object`
*Inherited from [Struct](_codec_struct_.struct.md).[with](_codec_struct_.struct.md#with)*
*Defined in [codec/Struct.ts:66](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L66)*
**Type parameters:**
#### S
**Parameters:**
| Param | Type |
| ------ | ------ |
| Types | `S` |
**Returns:** `object`
___
@@ -0,0 +1,324 @@
# Type parameters
#### S
#### T
#### V
#### E
# Hierarchy
↳ [Struct](_codec_struct_.struct.md)
**↳ RuntimeModuleMetadata**
# Constructors
<a id="constructor"></a>
## constructor
⊕ **new RuntimeModuleMetadata**(value?: *`any`*): [RuntimeModuleMetadata](_metadata_.runtimemodulemetadata.md)
*Overrides [Struct](_codec_struct_.struct.md).[constructor](_codec_struct_.struct.md#constructor)*
*Defined in [Metadata.ts:258](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/Metadata.ts#L258)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| `Optional` value | `any` |
**Returns:** [RuntimeModuleMetadata](_metadata_.runtimemodulemetadata.md)
___
# 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:27](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L27)*
___
<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:26](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L26)*
___
<a id="raw"></a>
## raw
**● raw**: *`T`*
*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/48e57f9/packages/types/src/codec/Base.ts#L19)*
___
# Accessors
<a id="type"></a>
## Type
getType(): `E`
*Inherited from [Struct](_codec_struct_.struct.md).[Type](_codec_struct_.struct.md#type)*
*Defined in [codec/Struct.ts:76](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L76)*
**Returns:** `E`
___
<a id="module"></a>
## module
getmodule(): [ModuleMetadata](_metadata_.modulemetadata.md)
*Defined in [Metadata.ts:267](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/Metadata.ts#L267)*
**Returns:** [ModuleMetadata](_metadata_.modulemetadata.md)
___
<a id="prefix"></a>
## prefix
getprefix(): [Text](_text_.text.md)
*Defined in [Metadata.ts:271](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/Metadata.ts#L271)*
**Returns:** [Text](_text_.text.md)
___
<a id="storage"></a>
## storage
getstorage(): [StorageMetadata](_metadata_.storagemetadata.md) &#124; `undefined`
*Defined in [Metadata.ts:275](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/Metadata.ts#L275)*
**Returns:** [StorageMetadata](_metadata_.storagemetadata.md) &#124; `undefined`
___
# Methods
<a id="bytelength"></a>
## byteLength
▸ **byteLength**(): `number`
*Inherited from [Struct](_codec_struct_.struct.md).[byteLength](_codec_struct_.struct.md#bytelength)*
*Overrides [Base](_codec_base_.base.md).[byteLength](_codec_base_.base.md#bytelength)*
*Defined in [codec/Struct.ts:80](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L80)*
**Returns:** `number`
___
<a id="fromjson"></a>
## fromJSON
▸ **fromJSON**(input: *`any`*): [Struct](_codec_struct_.struct.md)<`S`, `T`, `V`, `E`>
*Inherited from [Struct](_codec_struct_.struct.md).[fromJSON](_codec_struct_.struct.md#fromjson)*
*Overrides [Base](_codec_base_.base.md).[fromJSON](_codec_base_.base.md#fromjson)*
*Defined in [codec/Struct.ts:86](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L86)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| input | `any` |
**Returns:** [Struct](_codec_struct_.struct.md)<`S`, `T`, `V`, `E`>
___
<a id="fromu8a"></a>
## fromU8a
▸ **fromU8a**(input: *`Uint8Array`*): [Struct](_codec_struct_.struct.md)<`S`, `T`, `V`, `E`>
*Inherited from [Struct](_codec_struct_.struct.md).[fromU8a](_codec_struct_.struct.md#fromu8a)*
*Overrides [Base](_codec_base_.base.md).[fromU8a](_codec_base_.base.md#fromu8a)*
*Defined in [codec/Struct.ts:101](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L101)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| input | `Uint8Array` |
**Returns:** [Struct](_codec_struct_.struct.md)<`S`, `T`, `V`, `E`>
___
<a id="get"></a>
## get
▸ **get**(index: *`number`*): [Base](_codec_base_.base.md)
*Inherited from [Struct](_codec_struct_.struct.md).[get](_codec_struct_.struct.md#get)*
*Defined in [codec/Struct.ts:111](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L111)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| index | `number` |
**Returns:** [Base](_codec_base_.base.md)
___
<a id="keys"></a>
## keys
▸ **keys**(): `Array`<`string`>
*Inherited from [Struct](_codec_struct_.struct.md).[keys](_codec_struct_.struct.md#keys)*
*Defined in [codec/Struct.ts:126](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L126)*
**Returns:** `Array`<`string`>
___
<a id="tojson"></a>
## toJSON
▸ **toJSON**(): `any`
*Inherited from [Struct](_codec_struct_.struct.md).[toJSON](_codec_struct_.struct.md#tojson)*
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
*Defined in [codec/Struct.ts:115](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L115)*
**Returns:** `any`
___
<a id="tostring"></a>
## toString
▸ **toString**(): `string`
*Inherited from [Struct](_codec_struct_.struct.md).[toString](_codec_struct_.struct.md#tostring)*
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
*Defined in [codec/Struct.ts:138](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L138)*
**Returns:** `string`
___
<a id="tou8a"></a>
## toU8a
▸ **toU8a**(isBare?: * `undefined` &#124; `false` &#124; `true`*): `Uint8Array`
*Inherited from [Struct](_codec_struct_.struct.md).[toU8a](_codec_struct_.struct.md#tou8a)*
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
*Defined in [codec/Struct.ts:130](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L130)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| `Optional` isBare | `undefined` &#124; `false` &#124; `true`|
**Returns:** `Uint8Array`
___
<a id="values"></a>
## values
▸ **values**(): `Array`<[Base](_codec_base_.base.md)>
*Inherited from [Struct](_codec_struct_.struct.md).[values](_codec_struct_.struct.md#values)*
*Defined in [codec/Struct.ts:147](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L147)*
**Returns:** `Array`<[Base](_codec_base_.base.md)>
___
<a id="decode"></a>
## `<Static>` decode
▸ **decode**<`S`,`V`,`T`>(Types: *`S`*, value: * `V` &#124; `Array`<`any`>*, isTuple: *`boolean`*): `T`
*Inherited from [Struct](_codec_struct_.struct.md).[decode](_codec_struct_.struct.md#decode)*
*Defined in [codec/Struct.ts:45](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L45)*
**Type parameters:**
#### S
#### V
#### T
**Parameters:**
| Param | Type |
| ------ | ------ |
| Types | `S` |
| value | `V` &#124; `Array`<`any`>|
| isTuple | `boolean` |
**Returns:** `T`
___
<a id="with"></a>
## `<Static>` with
▸ **with**<`S`>(Types: *`S`*): `object`
*Inherited from [Struct](_codec_struct_.struct.md).[with](_codec_struct_.struct.md#with)*
*Defined in [codec/Struct.ts:66](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L66)*
**Type parameters:**
#### S
**Parameters:**
| Param | Type |
| ------ | ------ |
| Types | `S` |
**Returns:** `object`
___
@@ -0,0 +1,335 @@
# Type parameters
#### S
#### T
#### V
#### E
# Hierarchy
↳ [Struct](_codec_struct_.struct.md)
**↳ StorageFunctionMetadata**
# Constructors
<a id="constructor"></a>
## constructor
⊕ **new StorageFunctionMetadata**(value?: *`StorageFunctionMetadataValue`*): [StorageFunctionMetadata](_metadata_.storagefunctionmetadata.md)
*Overrides [Struct](_codec_struct_.struct.md).[constructor](_codec_struct_.struct.md#constructor)*
*Defined in [Metadata.ts:214](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/Metadata.ts#L214)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| `Optional` value | `StorageFunctionMetadataValue` |
**Returns:** [StorageFunctionMetadata](_metadata_.storagefunctionmetadata.md)
___
# 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:27](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L27)*
___
<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:26](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L26)*
___
<a id="raw"></a>
## raw
**● raw**: *`T`*
*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/48e57f9/packages/types/src/codec/Base.ts#L19)*
___
# Accessors
<a id="type"></a>
## Type
getType(): `E`
*Inherited from [Struct](_codec_struct_.struct.md).[Type](_codec_struct_.struct.md#type)*
*Defined in [codec/Struct.ts:76](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L76)*
**Returns:** `E`
___
<a id="documentation"></a>
## documentation
getdocumentation(): [Vector](_codec_vector_.vector.md)<[Text](_text_.text.md)>
*Defined in [Metadata.ts:224](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/Metadata.ts#L224)*
**Returns:** [Vector](_codec_vector_.vector.md)<[Text](_text_.text.md)>
___
<a id="modifier"></a>
## modifier
getmodifier(): [StorageFunctionModifier](_metadata_.storagefunctionmodifier.md)
*Defined in [Metadata.ts:232](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/Metadata.ts#L232)*
**Returns:** [StorageFunctionModifier](_metadata_.storagefunctionmodifier.md)
___
<a id="name"></a>
## name
getname(): [Text](_text_.text.md)
*Defined in [Metadata.ts:228](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/Metadata.ts#L228)*
**Returns:** [Text](_text_.text.md)
___
<a id="type-1"></a>
## type
gettype(): [StorageFunctionType](_metadata_.storagefunctiontype.md)
*Defined in [Metadata.ts:236](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/Metadata.ts#L236)*
**Returns:** [StorageFunctionType](_metadata_.storagefunctiontype.md)
___
# Methods
<a id="bytelength"></a>
## byteLength
▸ **byteLength**(): `number`
*Inherited from [Struct](_codec_struct_.struct.md).[byteLength](_codec_struct_.struct.md#bytelength)*
*Overrides [Base](_codec_base_.base.md).[byteLength](_codec_base_.base.md#bytelength)*
*Defined in [codec/Struct.ts:80](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L80)*
**Returns:** `number`
___
<a id="fromjson"></a>
## fromJSON
▸ **fromJSON**(input: *`any`*): [Struct](_codec_struct_.struct.md)<`S`, `T`, `V`, `E`>
*Inherited from [Struct](_codec_struct_.struct.md).[fromJSON](_codec_struct_.struct.md#fromjson)*
*Overrides [Base](_codec_base_.base.md).[fromJSON](_codec_base_.base.md#fromjson)*
*Defined in [codec/Struct.ts:86](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L86)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| input | `any` |
**Returns:** [Struct](_codec_struct_.struct.md)<`S`, `T`, `V`, `E`>
___
<a id="fromu8a"></a>
## fromU8a
▸ **fromU8a**(input: *`Uint8Array`*): [Struct](_codec_struct_.struct.md)<`S`, `T`, `V`, `E`>
*Inherited from [Struct](_codec_struct_.struct.md).[fromU8a](_codec_struct_.struct.md#fromu8a)*
*Overrides [Base](_codec_base_.base.md).[fromU8a](_codec_base_.base.md#fromu8a)*
*Defined in [codec/Struct.ts:101](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L101)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| input | `Uint8Array` |
**Returns:** [Struct](_codec_struct_.struct.md)<`S`, `T`, `V`, `E`>
___
<a id="get"></a>
## get
▸ **get**(index: *`number`*): [Base](_codec_base_.base.md)
*Inherited from [Struct](_codec_struct_.struct.md).[get](_codec_struct_.struct.md#get)*
*Defined in [codec/Struct.ts:111](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L111)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| index | `number` |
**Returns:** [Base](_codec_base_.base.md)
___
<a id="keys"></a>
## keys
▸ **keys**(): `Array`<`string`>
*Inherited from [Struct](_codec_struct_.struct.md).[keys](_codec_struct_.struct.md#keys)*
*Defined in [codec/Struct.ts:126](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L126)*
**Returns:** `Array`<`string`>
___
<a id="tojson"></a>
## toJSON
▸ **toJSON**(): `any`
*Inherited from [Struct](_codec_struct_.struct.md).[toJSON](_codec_struct_.struct.md#tojson)*
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
*Defined in [codec/Struct.ts:115](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L115)*
**Returns:** `any`
___
<a id="tostring"></a>
## toString
▸ **toString**(): `string`
*Inherited from [Struct](_codec_struct_.struct.md).[toString](_codec_struct_.struct.md#tostring)*
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
*Defined in [codec/Struct.ts:138](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L138)*
**Returns:** `string`
___
<a id="tou8a"></a>
## toU8a
▸ **toU8a**(isBare?: * `undefined` &#124; `false` &#124; `true`*): `Uint8Array`
*Inherited from [Struct](_codec_struct_.struct.md).[toU8a](_codec_struct_.struct.md#tou8a)*
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
*Defined in [codec/Struct.ts:130](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L130)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| `Optional` isBare | `undefined` &#124; `false` &#124; `true`|
**Returns:** `Uint8Array`
___
<a id="values"></a>
## values
▸ **values**(): `Array`<[Base](_codec_base_.base.md)>
*Inherited from [Struct](_codec_struct_.struct.md).[values](_codec_struct_.struct.md#values)*
*Defined in [codec/Struct.ts:147](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L147)*
**Returns:** `Array`<[Base](_codec_base_.base.md)>
___
<a id="decode"></a>
## `<Static>` decode
▸ **decode**<`S`,`V`,`T`>(Types: *`S`*, value: * `V` &#124; `Array`<`any`>*, isTuple: *`boolean`*): `T`
*Inherited from [Struct](_codec_struct_.struct.md).[decode](_codec_struct_.struct.md#decode)*
*Defined in [codec/Struct.ts:45](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L45)*
**Type parameters:**
#### S
#### V
#### T
**Parameters:**
| Param | Type |
| ------ | ------ |
| Types | `S` |
| value | `V` &#124; `Array`<`any`>|
| isTuple | `boolean` |
**Returns:** `T`
___
<a id="with"></a>
## `<Static>` with
▸ **with**<`S`>(Types: *`S`*): `object`
*Inherited from [Struct](_codec_struct_.struct.md).[with](_codec_struct_.struct.md#with)*
*Defined in [codec/Struct.ts:66](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L66)*
**Type parameters:**
#### S
**Parameters:**
| Param | Type |
| ------ | ------ |
| Types | `S` |
**Returns:** `object`
___
@@ -0,0 +1,168 @@
# Hierarchy
↳ [Enum](_codec_enum_.enum.md)
**↳ StorageFunctionModifier**
# Constructors
<a id="constructor"></a>
## constructor
⊕ **new StorageFunctionModifier**(value?: *`any`*): [StorageFunctionModifier](_metadata_.storagefunctionmodifier.md)
*Overrides [Enum](_codec_enum_.enum.md).[constructor](_codec_enum_.enum.md#constructor)*
*Defined in [Metadata.ts:157](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/Metadata.ts#L157)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| `Optional` value | `any` |
**Returns:** [StorageFunctionModifier](_metadata_.storagefunctionmodifier.md)
___
# Properties
<a id="raw"></a>
## raw
**● raw**: *`number`*
*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/48e57f9/packages/types/src/codec/Base.ts#L19)*
___
# Methods
<a id="bytelength"></a>
## byteLength
▸ **byteLength**(): `number`
*Inherited from [Enum](_codec_enum_.enum.md).[byteLength](_codec_enum_.enum.md#bytelength)*
*Overrides [Base](_codec_base_.base.md).[byteLength](_codec_base_.base.md#bytelength)*
*Defined in [codec/Enum.ts:31](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Enum.ts#L31)*
**Returns:** `number`
___
<a id="fromjson"></a>
## fromJSON
▸ **fromJSON**(input: *`any`*): [Enum](_codec_enum_.enum.md)
*Inherited from [Enum](_codec_enum_.enum.md).[fromJSON](_codec_enum_.enum.md#fromjson)*
*Overrides [Base](_codec_base_.base.md).[fromJSON](_codec_base_.base.md#fromjson)*
*Defined in [codec/Enum.ts:35](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Enum.ts#L35)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| input | `any` |
**Returns:** [Enum](_codec_enum_.enum.md)
___
<a id="fromu8a"></a>
## fromU8a
▸ **fromU8a**(input: *`Uint8Array`*): [Enum](_codec_enum_.enum.md)
*Inherited from [Enum](_codec_enum_.enum.md).[fromU8a](_codec_enum_.enum.md#fromu8a)*
*Overrides [Base](_codec_base_.base.md).[fromU8a](_codec_base_.base.md#fromu8a)*
*Defined in [codec/Enum.ts:42](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Enum.ts#L42)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| input | `Uint8Array` |
**Returns:** [Enum](_codec_enum_.enum.md)
___
<a id="tojson"></a>
## toJSON
▸ **toJSON**(): `any`
*Inherited from [Enum](_codec_enum_.enum.md).[toJSON](_codec_enum_.enum.md#tojson)*
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
*Defined in [codec/Enum.ts:49](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Enum.ts#L49)*
**Returns:** `any`
___
<a id="tonumber"></a>
## toNumber
▸ **toNumber**(): `number`
*Inherited from [Enum](_codec_enum_.enum.md).[toNumber](_codec_enum_.enum.md#tonumber)*
*Defined in [codec/Enum.ts:57](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Enum.ts#L57)*
**Returns:** `number`
___
<a id="tostring"></a>
## toString
▸ **toString**(): `string`
*Inherited from [Enum](_codec_enum_.enum.md).[toString](_codec_enum_.enum.md#tostring)*
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
*Defined in [codec/Enum.ts:61](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Enum.ts#L61)*
**Returns:** `string`
___
<a id="tou8a"></a>
## toU8a
▸ **toU8a**(isBare?: * `undefined` &#124; `false` &#124; `true`*): `Uint8Array`
*Inherited from [Enum](_codec_enum_.enum.md).[toU8a](_codec_enum_.enum.md#tou8a)*
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
*Defined in [codec/Enum.ts:53](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Enum.ts#L53)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| `Optional` isBare | `undefined` &#124; `false` &#124; `true`|
**Returns:** `Uint8Array`
___
@@ -0,0 +1,232 @@
# Hierarchy
↳ [EnumType](_codec_enumtype_.enumtype.md)< [Type](_type_.type.md) &#124; [StorageFunctionType$Map](_metadata_.storagefunctiontype_map.md)>
**↳ StorageFunctionType**
# Constructors
<a id="constructor"></a>
## constructor
⊕ **new StorageFunctionType**(index?: * `undefined` &#124; `number`*, value?: *`any`*): [StorageFunctionType](_metadata_.storagefunctiontype.md)
*Overrides [EnumType](_codec_enumtype_.enumtype.md).[constructor](_codec_enumtype_.enumtype.md#constructor)*
*Defined in [Metadata.ts:180](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/Metadata.ts#L180)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| `Optional` index | `undefined` &#124; `number`|
| `Optional` value | `any` |
**Returns:** [StorageFunctionType](_metadata_.storagefunctiontype.md)
___
# Properties
<a id="raw"></a>
## raw
**● raw**: *[Base](_codec_base_.base.md)< [Type](_type_.type.md) &#124; [StorageFunctionType$Map](_metadata_.storagefunctiontype_map.md)>*
*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/48e57f9/packages/types/src/codec/Base.ts#L19)*
___
# Accessors
<a id="type"></a>
## Type
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/48e57f9/packages/types/src/codec/EnumType.ts#L40)*
**Returns:** `string`
___
<a id="asmap"></a>
## asMap
getasMap(): [StorageFunctionType$Map](_metadata_.storagefunctiontype_map.md)
*Defined in [Metadata.ts:192](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/Metadata.ts#L192)*
**Returns:** [StorageFunctionType$Map](_metadata_.storagefunctiontype_map.md)
___
<a id="astype"></a>
## asType
getasType(): [Type](_type_.type.md)
*Defined in [Metadata.ts:196](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/Metadata.ts#L196)*
**Returns:** [Type](_type_.type.md)
___
<a id="ismap"></a>
## isMap
getisMap(): `boolean`
*Defined in [Metadata.ts:188](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/Metadata.ts#L188)*
**Returns:** `boolean`
___
# Methods
<a id="bytelength"></a>
## byteLength
▸ **byteLength**(): `number`
*Inherited from [EnumType](_codec_enumtype_.enumtype.md).[byteLength](_codec_enumtype_.enumtype.md#bytelength)*
*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/48e57f9/packages/types/src/codec/EnumType.ts#L44)*
**Returns:** `number`
___
<a id="fromjson"></a>
## fromJSON
▸ **fromJSON**(input: *`any`*): [Base](_codec_base_.base.md)<[Base](_codec_base_.base.md)< [Type](_type_.type.md) &#124; [StorageFunctionType$Map](_metadata_.storagefunctiontype_map.md)>>
*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/48e57f9/packages/types/src/codec/Base.ts#L29)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| input | `any` |
**Returns:** [Base](_codec_base_.base.md)<[Base](_codec_base_.base.md)< [Type](_type_.type.md) &#124; [StorageFunctionType$Map](_metadata_.storagefunctiontype_map.md)>>
___
<a id="fromu8a"></a>
## fromU8a
▸ **fromU8a**(input: *`Uint8Array`*): [EnumType](_codec_enumtype_.enumtype.md)< [Type](_type_.type.md) &#124; [StorageFunctionType$Map](_metadata_.storagefunctiontype_map.md)>
*Inherited from [EnumType](_codec_enumtype_.enumtype.md).[fromU8a](_codec_enumtype_.enumtype.md#fromu8a)*
*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/48e57f9/packages/types/src/codec/EnumType.ts#L48)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| input | `Uint8Array` |
**Returns:** [EnumType](_codec_enumtype_.enumtype.md)< [Type](_type_.type.md) &#124; [StorageFunctionType$Map](_metadata_.storagefunctiontype_map.md)>
___
<a id="setvalue"></a>
## setValue
▸ **setValue**(index?: * [EnumType](_codec_enumtype_.enumtype.md)< [Type](_type_.type.md) &#124; [StorageFunctionType$Map](_metadata_.storagefunctiontype_map.md)> &#124; `number`*, value?: *`any`*): `void`
*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/48e57f9/packages/types/src/codec/EnumType.ts#L55)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| `Optional` index | [EnumType](_codec_enumtype_.enumtype.md)< [Type](_type_.type.md) &#124; [StorageFunctionType$Map](_metadata_.storagefunctiontype_map.md)> &#124; `number`|
| `Optional` value | `any` |
**Returns:** `void`
___
<a id="tojson"></a>
## toJSON
▸ **toJSON**(): `any`
*Inherited from [EnumType](_codec_enumtype_.enumtype.md).[toJSON](_codec_enumtype_.enumtype.md#tojson)*
*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/48e57f9/packages/types/src/codec/EnumType.ts#L72)*
**Returns:** `any`
___
<a id="tonumber"></a>
## toNumber
▸ **toNumber**(): `number`
*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/48e57f9/packages/types/src/codec/EnumType.ts#L76)*
**Returns:** `number`
___
<a id="tostring"></a>
## toString
▸ **toString**(): `string`
*Overrides [EnumType](_codec_enumtype_.enumtype.md).[toString](_codec_enumtype_.enumtype.md#tostring)*
*Defined in [Metadata.ts:200](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/Metadata.ts#L200)*
**Returns:** `string`
___
<a id="tou8a"></a>
## toU8a
▸ **toU8a**(isBare?: * `undefined` &#124; `false` &#124; `true`*): `Uint8Array`
*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/48e57f9/packages/types/src/codec/Base.ts#L45)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| `Optional` isBare | `undefined` &#124; `false` &#124; `true`|
**Returns:** `Uint8Array`
___
@@ -0,0 +1,313 @@
# Type parameters
#### S
#### T
#### V
#### E
# Hierarchy
↳ [Struct](_codec_struct_.struct.md)
**↳ StorageFunctionType$Map**
# Constructors
<a id="constructor"></a>
## constructor
⊕ **new StorageFunctionType$Map**(value?: *`any`*): [StorageFunctionType$Map](_metadata_.storagefunctiontype_map.md)
*Overrides [Struct](_codec_struct_.struct.md).[constructor](_codec_struct_.struct.md#constructor)*
*Defined in [Metadata.ts:163](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/Metadata.ts#L163)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| `Optional` value | `any` |
**Returns:** [StorageFunctionType$Map](_metadata_.storagefunctiontype_map.md)
___
# 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:27](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L27)*
___
<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:26](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L26)*
___
<a id="raw"></a>
## raw
**● raw**: *`T`*
*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/48e57f9/packages/types/src/codec/Base.ts#L19)*
___
# Accessors
<a id="type"></a>
## Type
getType(): `E`
*Inherited from [Struct](_codec_struct_.struct.md).[Type](_codec_struct_.struct.md#type)*
*Defined in [codec/Struct.ts:76](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L76)*
**Returns:** `E`
___
<a id="key"></a>
## key
getkey(): [Type](_type_.type.md)
*Defined in [Metadata.ts:171](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/Metadata.ts#L171)*
**Returns:** [Type](_type_.type.md)
___
<a id="value"></a>
## value
getvalue(): [Type](_type_.type.md)
*Defined in [Metadata.ts:175](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/Metadata.ts#L175)*
**Returns:** [Type](_type_.type.md)
___
# Methods
<a id="bytelength"></a>
## byteLength
▸ **byteLength**(): `number`
*Inherited from [Struct](_codec_struct_.struct.md).[byteLength](_codec_struct_.struct.md#bytelength)*
*Overrides [Base](_codec_base_.base.md).[byteLength](_codec_base_.base.md#bytelength)*
*Defined in [codec/Struct.ts:80](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L80)*
**Returns:** `number`
___
<a id="fromjson"></a>
## fromJSON
▸ **fromJSON**(input: *`any`*): [Struct](_codec_struct_.struct.md)<`S`, `T`, `V`, `E`>
*Inherited from [Struct](_codec_struct_.struct.md).[fromJSON](_codec_struct_.struct.md#fromjson)*
*Overrides [Base](_codec_base_.base.md).[fromJSON](_codec_base_.base.md#fromjson)*
*Defined in [codec/Struct.ts:86](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L86)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| input | `any` |
**Returns:** [Struct](_codec_struct_.struct.md)<`S`, `T`, `V`, `E`>
___
<a id="fromu8a"></a>
## fromU8a
▸ **fromU8a**(input: *`Uint8Array`*): [Struct](_codec_struct_.struct.md)<`S`, `T`, `V`, `E`>
*Inherited from [Struct](_codec_struct_.struct.md).[fromU8a](_codec_struct_.struct.md#fromu8a)*
*Overrides [Base](_codec_base_.base.md).[fromU8a](_codec_base_.base.md#fromu8a)*
*Defined in [codec/Struct.ts:101](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L101)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| input | `Uint8Array` |
**Returns:** [Struct](_codec_struct_.struct.md)<`S`, `T`, `V`, `E`>
___
<a id="get"></a>
## get
▸ **get**(index: *`number`*): [Base](_codec_base_.base.md)
*Inherited from [Struct](_codec_struct_.struct.md).[get](_codec_struct_.struct.md#get)*
*Defined in [codec/Struct.ts:111](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L111)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| index | `number` |
**Returns:** [Base](_codec_base_.base.md)
___
<a id="keys"></a>
## keys
▸ **keys**(): `Array`<`string`>
*Inherited from [Struct](_codec_struct_.struct.md).[keys](_codec_struct_.struct.md#keys)*
*Defined in [codec/Struct.ts:126](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L126)*
**Returns:** `Array`<`string`>
___
<a id="tojson"></a>
## toJSON
▸ **toJSON**(): `any`
*Inherited from [Struct](_codec_struct_.struct.md).[toJSON](_codec_struct_.struct.md#tojson)*
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
*Defined in [codec/Struct.ts:115](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L115)*
**Returns:** `any`
___
<a id="tostring"></a>
## toString
▸ **toString**(): `string`
*Inherited from [Struct](_codec_struct_.struct.md).[toString](_codec_struct_.struct.md#tostring)*
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
*Defined in [codec/Struct.ts:138](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L138)*
**Returns:** `string`
___
<a id="tou8a"></a>
## toU8a
▸ **toU8a**(isBare?: * `undefined` &#124; `false` &#124; `true`*): `Uint8Array`
*Inherited from [Struct](_codec_struct_.struct.md).[toU8a](_codec_struct_.struct.md#tou8a)*
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
*Defined in [codec/Struct.ts:130](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L130)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| `Optional` isBare | `undefined` &#124; `false` &#124; `true`|
**Returns:** `Uint8Array`
___
<a id="values"></a>
## values
▸ **values**(): `Array`<[Base](_codec_base_.base.md)>
*Inherited from [Struct](_codec_struct_.struct.md).[values](_codec_struct_.struct.md#values)*
*Defined in [codec/Struct.ts:147](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L147)*
**Returns:** `Array`<[Base](_codec_base_.base.md)>
___
<a id="decode"></a>
## `<Static>` decode
▸ **decode**<`S`,`V`,`T`>(Types: *`S`*, value: * `V` &#124; `Array`<`any`>*, isTuple: *`boolean`*): `T`
*Inherited from [Struct](_codec_struct_.struct.md).[decode](_codec_struct_.struct.md#decode)*
*Defined in [codec/Struct.ts:45](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L45)*
**Type parameters:**
#### S
#### V
#### T
**Parameters:**
| Param | Type |
| ------ | ------ |
| Types | `S` |
| value | `V` &#124; `Array`<`any`>|
| isTuple | `boolean` |
**Returns:** `T`
___
<a id="with"></a>
## `<Static>` with
▸ **with**<`S`>(Types: *`S`*): `object`
*Inherited from [Struct](_codec_struct_.struct.md).[with](_codec_struct_.struct.md#with)*
*Defined in [codec/Struct.ts:66](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L66)*
**Type parameters:**
#### S
**Parameters:**
| Param | Type |
| ------ | ------ |
| Types | `S` |
**Returns:** `object`
___
@@ -0,0 +1,313 @@
# Type parameters
#### S
#### T
#### V
#### E
# Hierarchy
↳ [Struct](_codec_struct_.struct.md)
**↳ StorageMetadata**
# Constructors
<a id="constructor"></a>
## constructor
⊕ **new StorageMetadata**(value?: *`any`*): [StorageMetadata](_metadata_.storagemetadata.md)
*Overrides [Struct](_codec_struct_.struct.md).[constructor](_codec_struct_.struct.md#constructor)*
*Defined in [Metadata.ts:241](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/Metadata.ts#L241)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| `Optional` value | `any` |
**Returns:** [StorageMetadata](_metadata_.storagemetadata.md)
___
# 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:27](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L27)*
___
<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:26](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L26)*
___
<a id="raw"></a>
## raw
**● raw**: *`T`*
*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/48e57f9/packages/types/src/codec/Base.ts#L19)*
___
# Accessors
<a id="type"></a>
## Type
getType(): `E`
*Inherited from [Struct](_codec_struct_.struct.md).[Type](_codec_struct_.struct.md#type)*
*Defined in [codec/Struct.ts:76](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L76)*
**Returns:** `E`
___
<a id="functions"></a>
## functions
getfunctions(): [Vector](_codec_vector_.vector.md)<[StorageFunctionMetadata](_metadata_.storagefunctionmetadata.md)>
*Defined in [Metadata.ts:249](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/Metadata.ts#L249)*
**Returns:** [Vector](_codec_vector_.vector.md)<[StorageFunctionMetadata](_metadata_.storagefunctionmetadata.md)>
___
<a id="prefix"></a>
## prefix
getprefix(): [Text](_text_.text.md)
*Defined in [Metadata.ts:253](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/Metadata.ts#L253)*
**Returns:** [Text](_text_.text.md)
___
# Methods
<a id="bytelength"></a>
## byteLength
▸ **byteLength**(): `number`
*Inherited from [Struct](_codec_struct_.struct.md).[byteLength](_codec_struct_.struct.md#bytelength)*
*Overrides [Base](_codec_base_.base.md).[byteLength](_codec_base_.base.md#bytelength)*
*Defined in [codec/Struct.ts:80](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L80)*
**Returns:** `number`
___
<a id="fromjson"></a>
## fromJSON
▸ **fromJSON**(input: *`any`*): [Struct](_codec_struct_.struct.md)<`S`, `T`, `V`, `E`>
*Inherited from [Struct](_codec_struct_.struct.md).[fromJSON](_codec_struct_.struct.md#fromjson)*
*Overrides [Base](_codec_base_.base.md).[fromJSON](_codec_base_.base.md#fromjson)*
*Defined in [codec/Struct.ts:86](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L86)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| input | `any` |
**Returns:** [Struct](_codec_struct_.struct.md)<`S`, `T`, `V`, `E`>
___
<a id="fromu8a"></a>
## fromU8a
▸ **fromU8a**(input: *`Uint8Array`*): [Struct](_codec_struct_.struct.md)<`S`, `T`, `V`, `E`>
*Inherited from [Struct](_codec_struct_.struct.md).[fromU8a](_codec_struct_.struct.md#fromu8a)*
*Overrides [Base](_codec_base_.base.md).[fromU8a](_codec_base_.base.md#fromu8a)*
*Defined in [codec/Struct.ts:101](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L101)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| input | `Uint8Array` |
**Returns:** [Struct](_codec_struct_.struct.md)<`S`, `T`, `V`, `E`>
___
<a id="get"></a>
## get
▸ **get**(index: *`number`*): [Base](_codec_base_.base.md)
*Inherited from [Struct](_codec_struct_.struct.md).[get](_codec_struct_.struct.md#get)*
*Defined in [codec/Struct.ts:111](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L111)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| index | `number` |
**Returns:** [Base](_codec_base_.base.md)
___
<a id="keys"></a>
## keys
▸ **keys**(): `Array`<`string`>
*Inherited from [Struct](_codec_struct_.struct.md).[keys](_codec_struct_.struct.md#keys)*
*Defined in [codec/Struct.ts:126](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L126)*
**Returns:** `Array`<`string`>
___
<a id="tojson"></a>
## toJSON
▸ **toJSON**(): `any`
*Inherited from [Struct](_codec_struct_.struct.md).[toJSON](_codec_struct_.struct.md#tojson)*
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
*Defined in [codec/Struct.ts:115](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L115)*
**Returns:** `any`
___
<a id="tostring"></a>
## toString
▸ **toString**(): `string`
*Inherited from [Struct](_codec_struct_.struct.md).[toString](_codec_struct_.struct.md#tostring)*
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
*Defined in [codec/Struct.ts:138](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L138)*
**Returns:** `string`
___
<a id="tou8a"></a>
## toU8a
▸ **toU8a**(isBare?: * `undefined` &#124; `false` &#124; `true`*): `Uint8Array`
*Inherited from [Struct](_codec_struct_.struct.md).[toU8a](_codec_struct_.struct.md#tou8a)*
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
*Defined in [codec/Struct.ts:130](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L130)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| `Optional` isBare | `undefined` &#124; `false` &#124; `true`|
**Returns:** `Uint8Array`
___
<a id="values"></a>
## values
▸ **values**(): `Array`<[Base](_codec_base_.base.md)>
*Inherited from [Struct](_codec_struct_.struct.md).[values](_codec_struct_.struct.md#values)*
*Defined in [codec/Struct.ts:147](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L147)*
**Returns:** `Array`<[Base](_codec_base_.base.md)>
___
<a id="decode"></a>
## `<Static>` decode
▸ **decode**<`S`,`V`,`T`>(Types: *`S`*, value: * `V` &#124; `Array`<`any`>*, isTuple: *`boolean`*): `T`
*Inherited from [Struct](_codec_struct_.struct.md).[decode](_codec_struct_.struct.md#decode)*
*Defined in [codec/Struct.ts:45](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L45)*
**Type parameters:**
#### S
#### V
#### T
**Parameters:**
| Param | Type |
| ------ | ------ |
| Types | `S` |
| value | `V` &#124; `Array`<`any`>|
| isTuple | `boolean` |
**Returns:** `T`
___
<a id="with"></a>
## `<Static>` with
▸ **with**<`S`>(Types: *`S`*): `object`
*Inherited from [Struct](_codec_struct_.struct.md).[with](_codec_struct_.struct.md#with)*
*Defined in [codec/Struct.ts:66](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L66)*
**Type parameters:**
#### S
**Parameters:**
| Param | Type |
| ------ | ------ |
| Types | `S` |
**Returns:** `object`
___
@@ -0,0 +1,328 @@
# Type parameters
#### S
#### T
#### V
#### E
# Hierarchy
↳ [Struct](_codec_struct_.struct.md)
**↳ BftAtReport**
↳ [BftDoublePrepare](_misbehaviorreport_.bftdoubleprepare.md)
↳ [BftDoubleCommit](_misbehaviorreport_.bftdoublecommit.md)
# Constructors
<a id="constructor"></a>
## constructor
⊕ **new BftAtReport**(value?: *`BftAtReportValue`*): [BftAtReport](_misbehaviorreport_.bftatreport.md)
*Overrides [Struct](_codec_struct_.struct.md).[constructor](_codec_struct_.struct.md#constructor)*
*Defined in [MisbehaviorReport.ts:27](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/MisbehaviorReport.ts#L27)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| `Optional` value | `BftAtReportValue` |
**Returns:** [BftAtReport](_misbehaviorreport_.bftatreport.md)
___
# 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:27](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L27)*
___
<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:26](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L26)*
___
<a id="raw"></a>
## raw
**● raw**: *`T`*
*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/48e57f9/packages/types/src/codec/Base.ts#L19)*
___
# Accessors
<a id="type"></a>
## Type
getType(): `E`
*Inherited from [Struct](_codec_struct_.struct.md).[Type](_codec_struct_.struct.md#type)*
*Defined in [codec/Struct.ts:76](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L76)*
**Returns:** `E`
___
<a id="a"></a>
## a
geta(): [BftHashSignature](_bft_.bfthashsignature.md)
*Defined in [MisbehaviorReport.ts:36](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/MisbehaviorReport.ts#L36)*
**Returns:** [BftHashSignature](_bft_.bfthashsignature.md)
___
<a id="b"></a>
## b
getb(): [BftHashSignature](_bft_.bfthashsignature.md)
*Defined in [MisbehaviorReport.ts:40](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/MisbehaviorReport.ts#L40)*
**Returns:** [BftHashSignature](_bft_.bfthashsignature.md)
___
<a id="round"></a>
## round
getround(): [U32](_u32_.u32.md)
*Defined in [MisbehaviorReport.ts:44](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/MisbehaviorReport.ts#L44)*
**Returns:** [U32](_u32_.u32.md)
___
# Methods
<a id="bytelength"></a>
## byteLength
▸ **byteLength**(): `number`
*Inherited from [Struct](_codec_struct_.struct.md).[byteLength](_codec_struct_.struct.md#bytelength)*
*Overrides [Base](_codec_base_.base.md).[byteLength](_codec_base_.base.md#bytelength)*
*Defined in [codec/Struct.ts:80](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L80)*
**Returns:** `number`
___
<a id="fromjson"></a>
## fromJSON
▸ **fromJSON**(input: *`any`*): [Struct](_codec_struct_.struct.md)<`S`, `T`, `V`, `E`>
*Inherited from [Struct](_codec_struct_.struct.md).[fromJSON](_codec_struct_.struct.md#fromjson)*
*Overrides [Base](_codec_base_.base.md).[fromJSON](_codec_base_.base.md#fromjson)*
*Defined in [codec/Struct.ts:86](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L86)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| input | `any` |
**Returns:** [Struct](_codec_struct_.struct.md)<`S`, `T`, `V`, `E`>
___
<a id="fromu8a"></a>
## fromU8a
▸ **fromU8a**(input: *`Uint8Array`*): [Struct](_codec_struct_.struct.md)<`S`, `T`, `V`, `E`>
*Inherited from [Struct](_codec_struct_.struct.md).[fromU8a](_codec_struct_.struct.md#fromu8a)*
*Overrides [Base](_codec_base_.base.md).[fromU8a](_codec_base_.base.md#fromu8a)*
*Defined in [codec/Struct.ts:101](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L101)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| input | `Uint8Array` |
**Returns:** [Struct](_codec_struct_.struct.md)<`S`, `T`, `V`, `E`>
___
<a id="get"></a>
## get
▸ **get**(index: *`number`*): [Base](_codec_base_.base.md)
*Inherited from [Struct](_codec_struct_.struct.md).[get](_codec_struct_.struct.md#get)*
*Defined in [codec/Struct.ts:111](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L111)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| index | `number` |
**Returns:** [Base](_codec_base_.base.md)
___
<a id="keys"></a>
## keys
▸ **keys**(): `Array`<`string`>
*Inherited from [Struct](_codec_struct_.struct.md).[keys](_codec_struct_.struct.md#keys)*
*Defined in [codec/Struct.ts:126](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L126)*
**Returns:** `Array`<`string`>
___
<a id="tojson"></a>
## toJSON
▸ **toJSON**(): `any`
*Inherited from [Struct](_codec_struct_.struct.md).[toJSON](_codec_struct_.struct.md#tojson)*
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
*Defined in [codec/Struct.ts:115](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L115)*
**Returns:** `any`
___
<a id="tostring"></a>
## toString
▸ **toString**(): `string`
*Inherited from [Struct](_codec_struct_.struct.md).[toString](_codec_struct_.struct.md#tostring)*
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
*Defined in [codec/Struct.ts:138](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L138)*
**Returns:** `string`
___
<a id="tou8a"></a>
## toU8a
▸ **toU8a**(isBare?: * `undefined` &#124; `false` &#124; `true`*): `Uint8Array`
*Inherited from [Struct](_codec_struct_.struct.md).[toU8a](_codec_struct_.struct.md#tou8a)*
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
*Defined in [codec/Struct.ts:130](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L130)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| `Optional` isBare | `undefined` &#124; `false` &#124; `true`|
**Returns:** `Uint8Array`
___
<a id="values"></a>
## values
▸ **values**(): `Array`<[Base](_codec_base_.base.md)>
*Inherited from [Struct](_codec_struct_.struct.md).[values](_codec_struct_.struct.md#values)*
*Defined in [codec/Struct.ts:147](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L147)*
**Returns:** `Array`<[Base](_codec_base_.base.md)>
___
<a id="decode"></a>
## `<Static>` decode
▸ **decode**<`S`,`V`,`T`>(Types: *`S`*, value: * `V` &#124; `Array`<`any`>*, isTuple: *`boolean`*): `T`
*Inherited from [Struct](_codec_struct_.struct.md).[decode](_codec_struct_.struct.md#decode)*
*Defined in [codec/Struct.ts:45](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L45)*
**Type parameters:**
#### S
#### V
#### T
**Parameters:**
| Param | Type |
| ------ | ------ |
| Types | `S` |
| value | `V` &#124; `Array`<`any`>|
| isTuple | `boolean` |
**Returns:** `T`
___
<a id="with"></a>
## `<Static>` with
▸ **with**<`S`>(Types: *`S`*): `object`
*Inherited from [Struct](_codec_struct_.struct.md).[with](_codec_struct_.struct.md#with)*
*Defined in [codec/Struct.ts:66](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L66)*
**Type parameters:**
#### S
**Parameters:**
| Param | Type |
| ------ | ------ |
| Types | `S` |
**Returns:** `object`
___
@@ -0,0 +1,332 @@
# Type parameters
#### S
#### T
#### V
#### E
# Hierarchy
↳ [BftAtReport](_misbehaviorreport_.bftatreport.md)
**↳ BftDoubleCommit**
# Constructors
<a id="constructor"></a>
## constructor
⊕ **new BftDoubleCommit**(value?: *`BftAtReportValue`*): [BftDoubleCommit](_misbehaviorreport_.bftdoublecommit.md)
*Inherited from [BftAtReport](_misbehaviorreport_.bftatreport.md).[constructor](_misbehaviorreport_.bftatreport.md#constructor)*
*Overrides [Struct](_codec_struct_.struct.md).[constructor](_codec_struct_.struct.md#constructor)*
*Defined in [MisbehaviorReport.ts:27](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/MisbehaviorReport.ts#L27)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| `Optional` value | `BftAtReportValue` |
**Returns:** [BftDoubleCommit](_misbehaviorreport_.bftdoublecommit.md)
___
# 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:27](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L27)*
___
<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:26](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L26)*
___
<a id="raw"></a>
## raw
**● raw**: *`T`*
*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/48e57f9/packages/types/src/codec/Base.ts#L19)*
___
# Accessors
<a id="type"></a>
## Type
getType(): `E`
*Inherited from [Struct](_codec_struct_.struct.md).[Type](_codec_struct_.struct.md#type)*
*Defined in [codec/Struct.ts:76](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L76)*
**Returns:** `E`
___
<a id="a"></a>
## a
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/48e57f9/packages/types/src/MisbehaviorReport.ts#L36)*
**Returns:** [BftHashSignature](_bft_.bfthashsignature.md)
___
<a id="b"></a>
## b
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/48e57f9/packages/types/src/MisbehaviorReport.ts#L40)*
**Returns:** [BftHashSignature](_bft_.bfthashsignature.md)
___
<a id="round"></a>
## round
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/48e57f9/packages/types/src/MisbehaviorReport.ts#L44)*
**Returns:** [U32](_u32_.u32.md)
___
# Methods
<a id="bytelength"></a>
## byteLength
▸ **byteLength**(): `number`
*Inherited from [Struct](_codec_struct_.struct.md).[byteLength](_codec_struct_.struct.md#bytelength)*
*Overrides [Base](_codec_base_.base.md).[byteLength](_codec_base_.base.md#bytelength)*
*Defined in [codec/Struct.ts:80](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L80)*
**Returns:** `number`
___
<a id="fromjson"></a>
## fromJSON
▸ **fromJSON**(input: *`any`*): [Struct](_codec_struct_.struct.md)<`S`, `T`, `V`, `E`>
*Inherited from [Struct](_codec_struct_.struct.md).[fromJSON](_codec_struct_.struct.md#fromjson)*
*Overrides [Base](_codec_base_.base.md).[fromJSON](_codec_base_.base.md#fromjson)*
*Defined in [codec/Struct.ts:86](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L86)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| input | `any` |
**Returns:** [Struct](_codec_struct_.struct.md)<`S`, `T`, `V`, `E`>
___
<a id="fromu8a"></a>
## fromU8a
▸ **fromU8a**(input: *`Uint8Array`*): [Struct](_codec_struct_.struct.md)<`S`, `T`, `V`, `E`>
*Inherited from [Struct](_codec_struct_.struct.md).[fromU8a](_codec_struct_.struct.md#fromu8a)*
*Overrides [Base](_codec_base_.base.md).[fromU8a](_codec_base_.base.md#fromu8a)*
*Defined in [codec/Struct.ts:101](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L101)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| input | `Uint8Array` |
**Returns:** [Struct](_codec_struct_.struct.md)<`S`, `T`, `V`, `E`>
___
<a id="get"></a>
## get
▸ **get**(index: *`number`*): [Base](_codec_base_.base.md)
*Inherited from [Struct](_codec_struct_.struct.md).[get](_codec_struct_.struct.md#get)*
*Defined in [codec/Struct.ts:111](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L111)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| index | `number` |
**Returns:** [Base](_codec_base_.base.md)
___
<a id="keys"></a>
## keys
▸ **keys**(): `Array`<`string`>
*Inherited from [Struct](_codec_struct_.struct.md).[keys](_codec_struct_.struct.md#keys)*
*Defined in [codec/Struct.ts:126](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L126)*
**Returns:** `Array`<`string`>
___
<a id="tojson"></a>
## toJSON
▸ **toJSON**(): `any`
*Inherited from [Struct](_codec_struct_.struct.md).[toJSON](_codec_struct_.struct.md#tojson)*
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
*Defined in [codec/Struct.ts:115](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L115)*
**Returns:** `any`
___
<a id="tostring"></a>
## toString
▸ **toString**(): `string`
*Inherited from [Struct](_codec_struct_.struct.md).[toString](_codec_struct_.struct.md#tostring)*
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
*Defined in [codec/Struct.ts:138](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L138)*
**Returns:** `string`
___
<a id="tou8a"></a>
## toU8a
▸ **toU8a**(isBare?: * `undefined` &#124; `false` &#124; `true`*): `Uint8Array`
*Inherited from [Struct](_codec_struct_.struct.md).[toU8a](_codec_struct_.struct.md#tou8a)*
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
*Defined in [codec/Struct.ts:130](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L130)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| `Optional` isBare | `undefined` &#124; `false` &#124; `true`|
**Returns:** `Uint8Array`
___
<a id="values"></a>
## values
▸ **values**(): `Array`<[Base](_codec_base_.base.md)>
*Inherited from [Struct](_codec_struct_.struct.md).[values](_codec_struct_.struct.md#values)*
*Defined in [codec/Struct.ts:147](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L147)*
**Returns:** `Array`<[Base](_codec_base_.base.md)>
___
<a id="decode"></a>
## `<Static>` decode
▸ **decode**<`S`,`V`,`T`>(Types: *`S`*, value: * `V` &#124; `Array`<`any`>*, isTuple: *`boolean`*): `T`
*Inherited from [Struct](_codec_struct_.struct.md).[decode](_codec_struct_.struct.md#decode)*
*Defined in [codec/Struct.ts:45](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L45)*
**Type parameters:**
#### S
#### V
#### T
**Parameters:**
| Param | Type |
| ------ | ------ |
| Types | `S` |
| value | `V` &#124; `Array`<`any`>|
| isTuple | `boolean` |
**Returns:** `T`
___
<a id="with"></a>
## `<Static>` with
▸ **with**<`S`>(Types: *`S`*): `object`
*Inherited from [Struct](_codec_struct_.struct.md).[with](_codec_struct_.struct.md#with)*
*Defined in [codec/Struct.ts:66](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L66)*
**Type parameters:**
#### S
**Parameters:**
| Param | Type |
| ------ | ------ |
| Types | `S` |
**Returns:** `object`
___
@@ -0,0 +1,332 @@
# Type parameters
#### S
#### T
#### V
#### E
# Hierarchy
↳ [BftAtReport](_misbehaviorreport_.bftatreport.md)
**↳ BftDoublePrepare**
# Constructors
<a id="constructor"></a>
## constructor
⊕ **new BftDoublePrepare**(value?: *`BftAtReportValue`*): [BftDoublePrepare](_misbehaviorreport_.bftdoubleprepare.md)
*Inherited from [BftAtReport](_misbehaviorreport_.bftatreport.md).[constructor](_misbehaviorreport_.bftatreport.md#constructor)*
*Overrides [Struct](_codec_struct_.struct.md).[constructor](_codec_struct_.struct.md#constructor)*
*Defined in [MisbehaviorReport.ts:27](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/MisbehaviorReport.ts#L27)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| `Optional` value | `BftAtReportValue` |
**Returns:** [BftDoublePrepare](_misbehaviorreport_.bftdoubleprepare.md)
___
# 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:27](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L27)*
___
<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:26](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L26)*
___
<a id="raw"></a>
## raw
**● raw**: *`T`*
*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/48e57f9/packages/types/src/codec/Base.ts#L19)*
___
# Accessors
<a id="type"></a>
## Type
getType(): `E`
*Inherited from [Struct](_codec_struct_.struct.md).[Type](_codec_struct_.struct.md#type)*
*Defined in [codec/Struct.ts:76](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L76)*
**Returns:** `E`
___
<a id="a"></a>
## a
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/48e57f9/packages/types/src/MisbehaviorReport.ts#L36)*
**Returns:** [BftHashSignature](_bft_.bfthashsignature.md)
___
<a id="b"></a>
## b
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/48e57f9/packages/types/src/MisbehaviorReport.ts#L40)*
**Returns:** [BftHashSignature](_bft_.bfthashsignature.md)
___
<a id="round"></a>
## round
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/48e57f9/packages/types/src/MisbehaviorReport.ts#L44)*
**Returns:** [U32](_u32_.u32.md)
___
# Methods
<a id="bytelength"></a>
## byteLength
▸ **byteLength**(): `number`
*Inherited from [Struct](_codec_struct_.struct.md).[byteLength](_codec_struct_.struct.md#bytelength)*
*Overrides [Base](_codec_base_.base.md).[byteLength](_codec_base_.base.md#bytelength)*
*Defined in [codec/Struct.ts:80](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L80)*
**Returns:** `number`
___
<a id="fromjson"></a>
## fromJSON
▸ **fromJSON**(input: *`any`*): [Struct](_codec_struct_.struct.md)<`S`, `T`, `V`, `E`>
*Inherited from [Struct](_codec_struct_.struct.md).[fromJSON](_codec_struct_.struct.md#fromjson)*
*Overrides [Base](_codec_base_.base.md).[fromJSON](_codec_base_.base.md#fromjson)*
*Defined in [codec/Struct.ts:86](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L86)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| input | `any` |
**Returns:** [Struct](_codec_struct_.struct.md)<`S`, `T`, `V`, `E`>
___
<a id="fromu8a"></a>
## fromU8a
▸ **fromU8a**(input: *`Uint8Array`*): [Struct](_codec_struct_.struct.md)<`S`, `T`, `V`, `E`>
*Inherited from [Struct](_codec_struct_.struct.md).[fromU8a](_codec_struct_.struct.md#fromu8a)*
*Overrides [Base](_codec_base_.base.md).[fromU8a](_codec_base_.base.md#fromu8a)*
*Defined in [codec/Struct.ts:101](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L101)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| input | `Uint8Array` |
**Returns:** [Struct](_codec_struct_.struct.md)<`S`, `T`, `V`, `E`>
___
<a id="get"></a>
## get
▸ **get**(index: *`number`*): [Base](_codec_base_.base.md)
*Inherited from [Struct](_codec_struct_.struct.md).[get](_codec_struct_.struct.md#get)*
*Defined in [codec/Struct.ts:111](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L111)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| index | `number` |
**Returns:** [Base](_codec_base_.base.md)
___
<a id="keys"></a>
## keys
▸ **keys**(): `Array`<`string`>
*Inherited from [Struct](_codec_struct_.struct.md).[keys](_codec_struct_.struct.md#keys)*
*Defined in [codec/Struct.ts:126](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L126)*
**Returns:** `Array`<`string`>
___
<a id="tojson"></a>
## toJSON
▸ **toJSON**(): `any`
*Inherited from [Struct](_codec_struct_.struct.md).[toJSON](_codec_struct_.struct.md#tojson)*
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
*Defined in [codec/Struct.ts:115](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L115)*
**Returns:** `any`
___
<a id="tostring"></a>
## toString
▸ **toString**(): `string`
*Inherited from [Struct](_codec_struct_.struct.md).[toString](_codec_struct_.struct.md#tostring)*
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
*Defined in [codec/Struct.ts:138](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L138)*
**Returns:** `string`
___
<a id="tou8a"></a>
## toU8a
▸ **toU8a**(isBare?: * `undefined` &#124; `false` &#124; `true`*): `Uint8Array`
*Inherited from [Struct](_codec_struct_.struct.md).[toU8a](_codec_struct_.struct.md#tou8a)*
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
*Defined in [codec/Struct.ts:130](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L130)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| `Optional` isBare | `undefined` &#124; `false` &#124; `true`|
**Returns:** `Uint8Array`
___
<a id="values"></a>
## values
▸ **values**(): `Array`<[Base](_codec_base_.base.md)>
*Inherited from [Struct](_codec_struct_.struct.md).[values](_codec_struct_.struct.md#values)*
*Defined in [codec/Struct.ts:147](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L147)*
**Returns:** `Array`<[Base](_codec_base_.base.md)>
___
<a id="decode"></a>
## `<Static>` decode
▸ **decode**<`S`,`V`,`T`>(Types: *`S`*, value: * `V` &#124; `Array`<`any`>*, isTuple: *`boolean`*): `T`
*Inherited from [Struct](_codec_struct_.struct.md).[decode](_codec_struct_.struct.md#decode)*
*Defined in [codec/Struct.ts:45](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L45)*
**Type parameters:**
#### S
#### V
#### T
**Parameters:**
| Param | Type |
| ------ | ------ |
| Types | `S` |
| value | `V` &#124; `Array`<`any`>|
| isTuple | `boolean` |
**Returns:** `T`
___
<a id="with"></a>
## `<Static>` with
▸ **with**<`S`>(Types: *`S`*): `object`
*Inherited from [Struct](_codec_struct_.struct.md).[with](_codec_struct_.struct.md#with)*
*Defined in [codec/Struct.ts:66](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L66)*
**Type parameters:**
#### S
**Parameters:**
| Param | Type |
| ------ | ------ |
| Types | `S` |
**Returns:** `object`
___
@@ -0,0 +1,201 @@
# Hierarchy
↳ [EnumType](_codec_enumtype_.enumtype.md)< [BftDoublePrepare](_misbehaviorreport_.bftdoubleprepare.md) &#124; [BftDoubleCommit](_misbehaviorreport_.bftdoublecommit.md)>
**↳ MisbehaviorKind**
# Constructors
<a id="constructor"></a>
## constructor
⊕ **new MisbehaviorKind**(index?: *`number`*, value?: *`BftAtReportValue`*): [MisbehaviorKind](_misbehaviorreport_.misbehaviorkind.md)
*Overrides [EnumType](_codec_enumtype_.enumtype.md).[constructor](_codec_enumtype_.enumtype.md#constructor)*
*Defined in [MisbehaviorReport.ts:57](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/MisbehaviorReport.ts#L57)*
**Parameters:**
| Param | Type | Default value |
| ------ | ------ | ------ |
| `Default value` index | `number` | 17 |
| `Optional` value | `BftAtReportValue` | - |
**Returns:** [MisbehaviorKind](_misbehaviorreport_.misbehaviorkind.md)
___
# Properties
<a id="raw"></a>
## raw
**● raw**: *[Base](_codec_base_.base.md)< [BftDoublePrepare](_misbehaviorreport_.bftdoubleprepare.md) &#124; [BftDoubleCommit](_misbehaviorreport_.bftdoublecommit.md)>*
*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/48e57f9/packages/types/src/codec/Base.ts#L19)*
___
# Accessors
<a id="type"></a>
## Type
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/48e57f9/packages/types/src/codec/EnumType.ts#L40)*
**Returns:** `string`
___
# Methods
<a id="bytelength"></a>
## byteLength
▸ **byteLength**(): `number`
*Inherited from [EnumType](_codec_enumtype_.enumtype.md).[byteLength](_codec_enumtype_.enumtype.md#bytelength)*
*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/48e57f9/packages/types/src/codec/EnumType.ts#L44)*
**Returns:** `number`
___
<a id="fromjson"></a>
## fromJSON
▸ **fromJSON**(input: *`any`*): [Base](_codec_base_.base.md)<[Base](_codec_base_.base.md)< [BftDoublePrepare](_misbehaviorreport_.bftdoubleprepare.md) &#124; [BftDoubleCommit](_misbehaviorreport_.bftdoublecommit.md)>>
*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/48e57f9/packages/types/src/codec/Base.ts#L29)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| input | `any` |
**Returns:** [Base](_codec_base_.base.md)<[Base](_codec_base_.base.md)< [BftDoublePrepare](_misbehaviorreport_.bftdoubleprepare.md) &#124; [BftDoubleCommit](_misbehaviorreport_.bftdoublecommit.md)>>
___
<a id="fromu8a"></a>
## fromU8a
▸ **fromU8a**(input: *`Uint8Array`*): [EnumType](_codec_enumtype_.enumtype.md)< [BftDoublePrepare](_misbehaviorreport_.bftdoubleprepare.md) &#124; [BftDoubleCommit](_misbehaviorreport_.bftdoublecommit.md)>
*Inherited from [EnumType](_codec_enumtype_.enumtype.md).[fromU8a](_codec_enumtype_.enumtype.md#fromu8a)*
*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/48e57f9/packages/types/src/codec/EnumType.ts#L48)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| input | `Uint8Array` |
**Returns:** [EnumType](_codec_enumtype_.enumtype.md)< [BftDoublePrepare](_misbehaviorreport_.bftdoubleprepare.md) &#124; [BftDoubleCommit](_misbehaviorreport_.bftdoublecommit.md)>
___
<a id="setvalue"></a>
## setValue
▸ **setValue**(index?: * [EnumType](_codec_enumtype_.enumtype.md)< [BftDoublePrepare](_misbehaviorreport_.bftdoubleprepare.md) &#124; [BftDoubleCommit](_misbehaviorreport_.bftdoublecommit.md)> &#124; `number`*, value?: *`any`*): `void`
*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/48e57f9/packages/types/src/codec/EnumType.ts#L55)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| `Optional` index | [EnumType](_codec_enumtype_.enumtype.md)< [BftDoublePrepare](_misbehaviorreport_.bftdoubleprepare.md) &#124; [BftDoubleCommit](_misbehaviorreport_.bftdoublecommit.md)> &#124; `number`|
| `Optional` value | `any` |
**Returns:** `void`
___
<a id="tojson"></a>
## toJSON
▸ **toJSON**(): `any`
*Inherited from [EnumType](_codec_enumtype_.enumtype.md).[toJSON](_codec_enumtype_.enumtype.md#tojson)*
*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/48e57f9/packages/types/src/codec/EnumType.ts#L72)*
**Returns:** `any`
___
<a id="tonumber"></a>
## toNumber
▸ **toNumber**(): `number`
*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/48e57f9/packages/types/src/codec/EnumType.ts#L76)*
**Returns:** `number`
___
<a id="tostring"></a>
## toString
▸ **toString**(): `string`
*Inherited from [EnumType](_codec_enumtype_.enumtype.md).[toString](_codec_enumtype_.enumtype.md#tostring)*
*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/48e57f9/packages/types/src/codec/EnumType.ts#L80)*
**Returns:** `string`
___
<a id="tou8a"></a>
## toU8a
▸ **toU8a**(isBare?: * `undefined` &#124; `false` &#124; `true`*): `Uint8Array`
*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/48e57f9/packages/types/src/codec/Base.ts#L45)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| `Optional` isBare | `undefined` &#124; `false` &#124; `true`|
**Returns:** `Uint8Array`
___
@@ -0,0 +1,335 @@
# Type parameters
#### S
#### T
#### V
#### E
# Hierarchy
↳ [Struct](_codec_struct_.struct.md)
**↳ MisbehaviorReport**
# Constructors
<a id="constructor"></a>
## constructor
⊕ **new MisbehaviorReport**(value?: *`MisbehaviorReportValue`*): [MisbehaviorReport](_misbehaviorreport_.misbehaviorreport.md)
*Overrides [Struct](_codec_struct_.struct.md).[constructor](_codec_struct_.struct.md#constructor)*
*Defined in [MisbehaviorReport.ts:72](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/MisbehaviorReport.ts#L72)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| `Optional` value | `MisbehaviorReportValue` |
**Returns:** [MisbehaviorReport](_misbehaviorreport_.misbehaviorreport.md)
___
# 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:27](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L27)*
___
<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:26](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L26)*
___
<a id="raw"></a>
## raw
**● raw**: *`T`*
*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/48e57f9/packages/types/src/codec/Base.ts#L19)*
___
# Accessors
<a id="type"></a>
## Type
getType(): `E`
*Inherited from [Struct](_codec_struct_.struct.md).[Type](_codec_struct_.struct.md#type)*
*Defined in [codec/Struct.ts:76](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L76)*
**Returns:** `E`
___
<a id="misbehavior"></a>
## misbehavior
getmisbehavior(): [MisbehaviorKind](_misbehaviorreport_.misbehaviorkind.md)
*Defined in [MisbehaviorReport.ts:82](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/MisbehaviorReport.ts#L82)*
**Returns:** [MisbehaviorKind](_misbehaviorreport_.misbehaviorkind.md)
___
<a id="parenthash"></a>
## parentHash
getparentHash(): [Hash](_hash_.hash.md)
*Defined in [MisbehaviorReport.ts:86](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/MisbehaviorReport.ts#L86)*
**Returns:** [Hash](_hash_.hash.md)
___
<a id="parentnumber"></a>
## parentNumber
getparentNumber(): [BlockNumber](_blocknumber_.blocknumber.md)
*Defined in [MisbehaviorReport.ts:90](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/MisbehaviorReport.ts#L90)*
**Returns:** [BlockNumber](_blocknumber_.blocknumber.md)
___
<a id="target"></a>
## target
gettarget(): [AuthorityId](_authorityid_.authorityid.md)
*Defined in [MisbehaviorReport.ts:94](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/MisbehaviorReport.ts#L94)*
**Returns:** [AuthorityId](_authorityid_.authorityid.md)
___
# Methods
<a id="bytelength"></a>
## byteLength
▸ **byteLength**(): `number`
*Inherited from [Struct](_codec_struct_.struct.md).[byteLength](_codec_struct_.struct.md#bytelength)*
*Overrides [Base](_codec_base_.base.md).[byteLength](_codec_base_.base.md#bytelength)*
*Defined in [codec/Struct.ts:80](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L80)*
**Returns:** `number`
___
<a id="fromjson"></a>
## fromJSON
▸ **fromJSON**(input: *`any`*): [Struct](_codec_struct_.struct.md)<`S`, `T`, `V`, `E`>
*Inherited from [Struct](_codec_struct_.struct.md).[fromJSON](_codec_struct_.struct.md#fromjson)*
*Overrides [Base](_codec_base_.base.md).[fromJSON](_codec_base_.base.md#fromjson)*
*Defined in [codec/Struct.ts:86](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L86)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| input | `any` |
**Returns:** [Struct](_codec_struct_.struct.md)<`S`, `T`, `V`, `E`>
___
<a id="fromu8a"></a>
## fromU8a
▸ **fromU8a**(input: *`Uint8Array`*): [Struct](_codec_struct_.struct.md)<`S`, `T`, `V`, `E`>
*Inherited from [Struct](_codec_struct_.struct.md).[fromU8a](_codec_struct_.struct.md#fromu8a)*
*Overrides [Base](_codec_base_.base.md).[fromU8a](_codec_base_.base.md#fromu8a)*
*Defined in [codec/Struct.ts:101](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L101)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| input | `Uint8Array` |
**Returns:** [Struct](_codec_struct_.struct.md)<`S`, `T`, `V`, `E`>
___
<a id="get"></a>
## get
▸ **get**(index: *`number`*): [Base](_codec_base_.base.md)
*Inherited from [Struct](_codec_struct_.struct.md).[get](_codec_struct_.struct.md#get)*
*Defined in [codec/Struct.ts:111](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L111)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| index | `number` |
**Returns:** [Base](_codec_base_.base.md)
___
<a id="keys"></a>
## keys
▸ **keys**(): `Array`<`string`>
*Inherited from [Struct](_codec_struct_.struct.md).[keys](_codec_struct_.struct.md#keys)*
*Defined in [codec/Struct.ts:126](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L126)*
**Returns:** `Array`<`string`>
___
<a id="tojson"></a>
## toJSON
▸ **toJSON**(): `any`
*Inherited from [Struct](_codec_struct_.struct.md).[toJSON](_codec_struct_.struct.md#tojson)*
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
*Defined in [codec/Struct.ts:115](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L115)*
**Returns:** `any`
___
<a id="tostring"></a>
## toString
▸ **toString**(): `string`
*Inherited from [Struct](_codec_struct_.struct.md).[toString](_codec_struct_.struct.md#tostring)*
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
*Defined in [codec/Struct.ts:138](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L138)*
**Returns:** `string`
___
<a id="tou8a"></a>
## toU8a
▸ **toU8a**(isBare?: * `undefined` &#124; `false` &#124; `true`*): `Uint8Array`
*Inherited from [Struct](_codec_struct_.struct.md).[toU8a](_codec_struct_.struct.md#tou8a)*
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
*Defined in [codec/Struct.ts:130](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L130)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| `Optional` isBare | `undefined` &#124; `false` &#124; `true`|
**Returns:** `Uint8Array`
___
<a id="values"></a>
## values
▸ **values**(): `Array`<[Base](_codec_base_.base.md)>
*Inherited from [Struct](_codec_struct_.struct.md).[values](_codec_struct_.struct.md#values)*
*Defined in [codec/Struct.ts:147](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L147)*
**Returns:** `Array`<[Base](_codec_base_.base.md)>
___
<a id="decode"></a>
## `<Static>` decode
▸ **decode**<`S`,`V`,`T`>(Types: *`S`*, value: * `V` &#124; `Array`<`any`>*, isTuple: *`boolean`*): `T`
*Inherited from [Struct](_codec_struct_.struct.md).[decode](_codec_struct_.struct.md#decode)*
*Defined in [codec/Struct.ts:45](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L45)*
**Type parameters:**
#### S
#### V
#### T
**Parameters:**
| Param | Type |
| ------ | ------ |
| Types | `S` |
| value | `V` &#124; `Array`<`any`>|
| isTuple | `boolean` |
**Returns:** `T`
___
<a id="with"></a>
## `<Static>` with
▸ **with**<`S`>(Types: *`S`*): `object`
*Inherited from [Struct](_codec_struct_.struct.md).[with](_codec_struct_.struct.md#with)*
*Defined in [codec/Struct.ts:66](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L66)*
**Type parameters:**
#### S
**Parameters:**
| Param | Type |
| ------ | ------ |
| Types | `S` |
**Returns:** `object`
___
+193
View File
@@ -0,0 +1,193 @@
# Hierarchy
[Base](_codec_base_.base.md)<`Date`>
**↳ Moment**
# Constructors
<a id="constructor"></a>
## constructor
⊕ **new Moment**(value?: * `Uint8Array` &#124; [Moment](_moment_.moment.md) &#124; `Date` &#124; `BN` &#124; `number`*): [Moment](_moment_.moment.md)
*Overrides [Base](_codec_base_.base.md).[constructor](_codec_base_.base.md#constructor)*
*Defined in [Moment.ts:19](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/Moment.ts#L19)*
**Parameters:**
| Param | Type | Default value |
| ------ | ------ | ------ |
| `Default value` value | `Uint8Array` &#124; [Moment](_moment_.moment.md) &#124; `Date` &#124; `BN` &#124; `number`| 0 |
**Returns:** [Moment](_moment_.moment.md)
___
# Properties
<a id="raw"></a>
## raw
**● raw**: *`Date`*
*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/48e57f9/packages/types/src/codec/Base.ts#L19)*
___
# Methods
<a id="bytelength"></a>
## byteLength
▸ **byteLength**(): `number`
*Overrides [Base](_codec_base_.base.md).[byteLength](_codec_base_.base.md#bytelength)*
*Defined in [Moment.ts:40](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/Moment.ts#L40)*
**Returns:** `number`
___
<a id="fromjson"></a>
## fromJSON
▸ **fromJSON**(input: *`any`*): [Moment](_moment_.moment.md)
*Overrides [Base](_codec_base_.base.md).[fromJSON](_codec_base_.base.md#fromjson)*
*Defined in [Moment.ts:44](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/Moment.ts#L44)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| input | `any` |
**Returns:** [Moment](_moment_.moment.md)
___
<a id="fromu8a"></a>
## fromU8a
▸ **fromU8a**(input: *`Uint8Array`*): [Moment](_moment_.moment.md)
*Overrides [Base](_codec_base_.base.md).[fromU8a](_codec_base_.base.md#fromu8a)*
*Defined in [Moment.ts:50](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/Moment.ts#L50)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| input | `Uint8Array` |
**Returns:** [Moment](_moment_.moment.md)
___
<a id="gettime"></a>
## getTime
▸ **getTime**(): `number`
*Defined in [Moment.ts:58](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/Moment.ts#L58)*
**Returns:** `number`
___
<a id="tobn"></a>
## toBn
▸ **toBn**(): `BN`
*Defined in [Moment.ts:74](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/Moment.ts#L74)*
**Returns:** `BN`
___
<a id="tojson"></a>
## toJSON
▸ **toJSON**(): `any`
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
*Defined in [Moment.ts:62](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/Moment.ts#L62)*
**Returns:** `any`
___
<a id="tonumber"></a>
## toNumber
▸ **toNumber**(): `number`
*Defined in [Moment.ts:78](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/Moment.ts#L78)*
**Returns:** `number`
___
<a id="tostring"></a>
## toString
▸ **toString**(): `string`
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
*Defined in [Moment.ts:70](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/Moment.ts#L70)*
**Returns:** `string`
___
<a id="tou8a"></a>
## toU8a
▸ **toU8a**(isBare?: * `undefined` &#124; `false` &#124; `true`*): `Uint8Array`
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
*Defined in [Moment.ts:66](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/Moment.ts#L66)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| `Optional` isBare | `undefined` &#124; `false` &#124; `true`|
**Returns:** `Uint8Array`
___
<a id="decode"></a>
## `<Static>` decode
▸ **decode**(value: * `Uint8Array` &#124; [Moment](_moment_.moment.md) &#124; `number` &#124; `BN`*): `Date`
*Defined in [Moment.ts:28](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/Moment.ts#L28)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| value | `Uint8Array` &#124; [Moment](_moment_.moment.md) &#124; `number` &#124; `BN`|
**Returns:** `Date`
___
@@ -0,0 +1,168 @@
# Hierarchy
↳ [Enum](_codec_enum_.enum.md)
**↳ NewAccountOutcome**
# Constructors
<a id="constructor"></a>
## constructor
⊕ **new NewAccountOutcome**(index?: * `undefined` &#124; `number`*): [NewAccountOutcome](_newaccountoutcome_.newaccountoutcome.md)
*Overrides [Enum](_codec_enum_.enum.md).[constructor](_codec_enum_.enum.md#constructor)*
*Defined in [NewAccountOutcome.ts:8](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/NewAccountOutcome.ts#L8)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| `Optional` index | `undefined` &#124; `number`|
**Returns:** [NewAccountOutcome](_newaccountoutcome_.newaccountoutcome.md)
___
# Properties
<a id="raw"></a>
## raw
**● raw**: *`number`*
*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/48e57f9/packages/types/src/codec/Base.ts#L19)*
___
# Methods
<a id="bytelength"></a>
## byteLength
▸ **byteLength**(): `number`
*Inherited from [Enum](_codec_enum_.enum.md).[byteLength](_codec_enum_.enum.md#bytelength)*
*Overrides [Base](_codec_base_.base.md).[byteLength](_codec_base_.base.md#bytelength)*
*Defined in [codec/Enum.ts:31](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Enum.ts#L31)*
**Returns:** `number`
___
<a id="fromjson"></a>
## fromJSON
▸ **fromJSON**(input: *`any`*): [Enum](_codec_enum_.enum.md)
*Inherited from [Enum](_codec_enum_.enum.md).[fromJSON](_codec_enum_.enum.md#fromjson)*
*Overrides [Base](_codec_base_.base.md).[fromJSON](_codec_base_.base.md#fromjson)*
*Defined in [codec/Enum.ts:35](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Enum.ts#L35)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| input | `any` |
**Returns:** [Enum](_codec_enum_.enum.md)
___
<a id="fromu8a"></a>
## fromU8a
▸ **fromU8a**(input: *`Uint8Array`*): [Enum](_codec_enum_.enum.md)
*Inherited from [Enum](_codec_enum_.enum.md).[fromU8a](_codec_enum_.enum.md#fromu8a)*
*Overrides [Base](_codec_base_.base.md).[fromU8a](_codec_base_.base.md#fromu8a)*
*Defined in [codec/Enum.ts:42](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Enum.ts#L42)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| input | `Uint8Array` |
**Returns:** [Enum](_codec_enum_.enum.md)
___
<a id="tojson"></a>
## toJSON
▸ **toJSON**(): `any`
*Inherited from [Enum](_codec_enum_.enum.md).[toJSON](_codec_enum_.enum.md#tojson)*
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
*Defined in [codec/Enum.ts:49](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Enum.ts#L49)*
**Returns:** `any`
___
<a id="tonumber"></a>
## toNumber
▸ **toNumber**(): `number`
*Inherited from [Enum](_codec_enum_.enum.md).[toNumber](_codec_enum_.enum.md#tonumber)*
*Defined in [codec/Enum.ts:57](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Enum.ts#L57)*
**Returns:** `number`
___
<a id="tostring"></a>
## toString
▸ **toString**(): `string`
*Inherited from [Enum](_codec_enum_.enum.md).[toString](_codec_enum_.enum.md#tostring)*
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
*Defined in [codec/Enum.ts:61](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Enum.ts#L61)*
**Returns:** `string`
___
<a id="tou8a"></a>
## toU8a
▸ **toU8a**(isBare?: * `undefined` &#124; `false` &#124; `true`*): `Uint8Array`
*Inherited from [Enum](_codec_enum_.enum.md).[toU8a](_codec_enum_.enum.md#tou8a)*
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
*Defined in [codec/Enum.ts:53](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Enum.ts#L53)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| `Optional` isBare | `undefined` &#124; `false` &#124; `true`|
**Returns:** `Uint8Array`
___
+399
View File
@@ -0,0 +1,399 @@
# Hierarchy
↳ [U32](_u32_.u32.md)
**↳ Index**
# Constructors
<a id="constructor"></a>
## constructor
⊕ **new Index**(value?: *[AnyNumber](../modules/_types_d_.md#anynumber)*): [Index](_nonce_.index.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/48e57f9/packages/types/src/U32.ts#L9)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| `Optional` value | [AnyNumber](../modules/_types_d_.md#anynumber) |
**Returns:** [Index](_nonce_.index.md)
___
# Properties
<a id="raw"></a>
## raw
**● raw**: *`BN`*
*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/48e57f9/packages/types/src/codec/Base.ts#L19)*
___
# Methods
<a id="add"></a>
## add
▸ **add**(other: * [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`*): `BN`
*Inherited from [UInt](_codec_uint_.uint.md).[add](_codec_uint_.uint.md#add)*
*Defined in [codec/UInt.ts:95](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L95)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| other | [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`|
**Returns:** `BN`
___
<a id="bytelength"></a>
## byteLength
▸ **byteLength**(): `number`
*Inherited from [UInt](_codec_uint_.uint.md).[byteLength](_codec_uint_.uint.md#bytelength)*
*Overrides [Base](_codec_base_.base.md).[byteLength](_codec_base_.base.md#bytelength)*
*Defined in [codec/UInt.ts:53](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L53)*
**Returns:** `number`
___
<a id="cmp"></a>
## cmp
▸ **cmp**(other: * [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`*): `number`
*Inherited from [UInt](_codec_uint_.uint.md).[cmp](_codec_uint_.uint.md#cmp)*
*Defined in [codec/UInt.ts:101](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L101)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| other | [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`|
**Returns:** `number`
___
<a id="div"></a>
## div
▸ **div**(other: * [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`*): `BN`
*Inherited from [UInt](_codec_uint_.uint.md).[div](_codec_uint_.uint.md#div)*
*Defined in [codec/UInt.ts:107](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L107)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| other | [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`|
**Returns:** `BN`
___
<a id="fromjson"></a>
## fromJSON
▸ **fromJSON**(input: *`any`*): [UInt](_codec_uint_.uint.md)
*Inherited from [UInt](_codec_uint_.uint.md).[fromJSON](_codec_uint_.uint.md#fromjson)*
*Overrides [Base](_codec_base_.base.md).[fromJSON](_codec_base_.base.md#fromjson)*
*Defined in [codec/UInt.ts:57](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L57)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| input | `any` |
**Returns:** [UInt](_codec_uint_.uint.md)
___
<a id="fromu8a"></a>
## fromU8a
▸ **fromU8a**(input: *`Uint8Array`*): [UInt](_codec_uint_.uint.md)
*Inherited from [UInt](_codec_uint_.uint.md).[fromU8a](_codec_uint_.uint.md#fromu8a)*
*Overrides [Base](_codec_base_.base.md).[fromU8a](_codec_base_.base.md#fromu8a)*
*Defined in [codec/UInt.ts:63](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L63)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| input | `Uint8Array` |
**Returns:** [UInt](_codec_uint_.uint.md)
___
<a id="gt"></a>
## gt
▸ **gt**(test: * [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`*): `boolean`
*Inherited from [UInt](_codec_uint_.uint.md).[gt](_codec_uint_.uint.md#gt)*
*Defined in [codec/UInt.ts:129](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L129)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| test | [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`|
**Returns:** `boolean`
___
<a id="gte"></a>
## gte
▸ **gte**(test: * [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`*): `boolean`
*Inherited from [UInt](_codec_uint_.uint.md).[gte](_codec_uint_.uint.md#gte)*
*Defined in [codec/UInt.ts:135](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L135)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| test | [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`|
**Returns:** `boolean`
___
<a id="iszero"></a>
## isZero
▸ **isZero**(): `boolean`
*Inherited from [UInt](_codec_uint_.uint.md).[isZero](_codec_uint_.uint.md#iszero)*
*Defined in [codec/UInt.ts:113](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L113)*
**Returns:** `boolean`
___
<a id="lt"></a>
## lt
▸ **lt**(test: * [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`*): `boolean`
*Inherited from [UInt](_codec_uint_.uint.md).[lt](_codec_uint_.uint.md#lt)*
*Defined in [codec/UInt.ts:117](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L117)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| test | [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`|
**Returns:** `boolean`
___
<a id="lte"></a>
## lte
▸ **lte**(test: * [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`*): `boolean`
*Inherited from [UInt](_codec_uint_.uint.md).[lte](_codec_uint_.uint.md#lte)*
*Defined in [codec/UInt.ts:123](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L123)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| test | [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`|
**Returns:** `boolean`
___
<a id="mul"></a>
## mul
▸ **mul**(other: * [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`*): `BN`
*Inherited from [UInt](_codec_uint_.uint.md).[mul](_codec_uint_.uint.md#mul)*
*Defined in [codec/UInt.ts:141](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L141)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| other | [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`|
**Returns:** `BN`
___
<a id="sub"></a>
## sub
▸ **sub**(other: * [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`*): `BN`
*Inherited from [UInt](_codec_uint_.uint.md).[sub](_codec_uint_.uint.md#sub)*
*Defined in [codec/UInt.ts:147](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L147)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| other | [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`|
**Returns:** `BN`
___
<a id="tobn"></a>
## toBn
▸ **toBn**(): `BN`
*Inherited from [UInt](_codec_uint_.uint.md).[toBn](_codec_uint_.uint.md#tobn)*
*Defined in [codec/UInt.ts:85](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L85)*
**Returns:** `BN`
___
<a id="tohex"></a>
## toHex
▸ **toHex**(): `string`
*Inherited from [UInt](_codec_uint_.uint.md).[toHex](_codec_uint_.uint.md#tohex)*
*Defined in [codec/UInt.ts:69](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L69)*
**Returns:** `string`
___
<a id="tojson"></a>
## toJSON
▸ **toJSON**(): `any`
*Inherited from [UInt](_codec_uint_.uint.md).[toJSON](_codec_uint_.uint.md#tojson)*
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
*Defined in [codec/UInt.ts:73](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L73)*
**Returns:** `any`
___
<a id="tonumber"></a>
## toNumber
▸ **toNumber**(): `number`
*Inherited from [UInt](_codec_uint_.uint.md).[toNumber](_codec_uint_.uint.md#tonumber)*
*Defined in [codec/UInt.ts:89](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L89)*
**Returns:** `number`
___
<a id="tostring"></a>
## toString
▸ **toString**(): `string`
*Inherited from [UInt](_codec_uint_.uint.md).[toString](_codec_uint_.uint.md#tostring)*
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
*Defined in [codec/UInt.ts:81](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L81)*
**Returns:** `string`
___
<a id="tou8a"></a>
## toU8a
▸ **toU8a**(isBare?: * `undefined` &#124; `false` &#124; `true`*): `Uint8Array`
*Inherited from [UInt](_codec_uint_.uint.md).[toU8a](_codec_uint_.uint.md#tou8a)*
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
*Defined in [codec/UInt.ts:77](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L77)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| `Optional` isBare | `undefined` &#124; `false` &#124; `true`|
**Returns:** `Uint8Array`
___
<a id="decode"></a>
## `<Static>` decode
▸ **decode**(value: *[AnyNumber](../modules/_types_d_.md#anynumber)*): `BN`
*Inherited from [UInt](_codec_uint_.uint.md).[decode](_codec_uint_.uint.md#decode)*
*Defined in [codec/UInt.ts:38](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L38)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| value | [AnyNumber](../modules/_types_d_.md#anynumber) |
**Returns:** `BN`
___
+139
View File
@@ -0,0 +1,139 @@
# Type parameters
#### T
# Hierarchy
[Base](_codec_base_.base.md)
**↳ Origin**
# Constructors
<a id="constructor"></a>
## constructor
⊕ **new Origin**(): [Origin](_origin_.origin.md)
*Overrides [Base](_codec_base_.base.md).[constructor](_codec_base_.base.md#constructor)*
*Defined in [Origin.ts:8](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/Origin.ts#L8)*
**Returns:** [Origin](_origin_.origin.md)
___
# Properties
<a id="raw"></a>
## raw
**● raw**: *`T`*
*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/48e57f9/packages/types/src/codec/Base.ts#L19)*
___
# Methods
<a id="bytelength"></a>
## byteLength
▸ **byteLength**(): `number`
*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/48e57f9/packages/types/src/codec/Base.ts#L25)*
**Returns:** `number`
___
<a id="fromjson"></a>
## fromJSON
▸ **fromJSON**(input: *`any`*): [Base](_codec_base_.base.md)<`T`>
*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/48e57f9/packages/types/src/codec/Base.ts#L29)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| input | `any` |
**Returns:** [Base](_codec_base_.base.md)<`T`>
___
<a id="fromu8a"></a>
## fromU8a
▸ **fromU8a**(input: *`Uint8Array`*): [Base](_codec_base_.base.md)<`T`>
*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/48e57f9/packages/types/src/codec/Base.ts#L33)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| input | `Uint8Array` |
**Returns:** [Base](_codec_base_.base.md)<`T`>
___
<a id="tojson"></a>
## toJSON
▸ **toJSON**(): `any`
*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/48e57f9/packages/types/src/codec/Base.ts#L37)*
**Returns:** `any`
___
<a id="tostring"></a>
## toString
▸ **toString**(): `string`
*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/48e57f9/packages/types/src/codec/Base.ts#L41)*
**Returns:** `string`
___
<a id="tou8a"></a>
## toU8a
▸ **toU8a**(isBare?: * `undefined` &#124; `false` &#124; `true`*): `Uint8Array`
*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/48e57f9/packages/types/src/codec/Base.ts#L45)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| `Optional` isBare | `undefined` &#124; `false` &#124; `true`|
**Returns:** `Uint8Array`
___
@@ -0,0 +1,399 @@
# Hierarchy
↳ [U64](_u64_.u64.md)
**↳ ParachainId**
# Constructors
<a id="constructor"></a>
## constructor
⊕ **new ParachainId**(value?: *[AnyNumber](../modules/_types_d_.md#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/48e57f9/packages/types/src/U64.ts#L9)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| `Optional` value | [AnyNumber](../modules/_types_d_.md#anynumber) |
**Returns:** [ParachainId](_parachainid_.parachainid.md)
___
# Properties
<a id="raw"></a>
## raw
**● raw**: *`BN`*
*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/48e57f9/packages/types/src/codec/Base.ts#L19)*
___
# Methods
<a id="add"></a>
## add
▸ **add**(other: * [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`*): `BN`
*Inherited from [UInt](_codec_uint_.uint.md).[add](_codec_uint_.uint.md#add)*
*Defined in [codec/UInt.ts:95](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L95)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| other | [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`|
**Returns:** `BN`
___
<a id="bytelength"></a>
## byteLength
▸ **byteLength**(): `number`
*Inherited from [UInt](_codec_uint_.uint.md).[byteLength](_codec_uint_.uint.md#bytelength)*
*Overrides [Base](_codec_base_.base.md).[byteLength](_codec_base_.base.md#bytelength)*
*Defined in [codec/UInt.ts:53](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L53)*
**Returns:** `number`
___
<a id="cmp"></a>
## cmp
▸ **cmp**(other: * [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`*): `number`
*Inherited from [UInt](_codec_uint_.uint.md).[cmp](_codec_uint_.uint.md#cmp)*
*Defined in [codec/UInt.ts:101](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L101)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| other | [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`|
**Returns:** `number`
___
<a id="div"></a>
## div
▸ **div**(other: * [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`*): `BN`
*Inherited from [UInt](_codec_uint_.uint.md).[div](_codec_uint_.uint.md#div)*
*Defined in [codec/UInt.ts:107](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L107)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| other | [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`|
**Returns:** `BN`
___
<a id="fromjson"></a>
## fromJSON
▸ **fromJSON**(input: *`any`*): [UInt](_codec_uint_.uint.md)
*Inherited from [UInt](_codec_uint_.uint.md).[fromJSON](_codec_uint_.uint.md#fromjson)*
*Overrides [Base](_codec_base_.base.md).[fromJSON](_codec_base_.base.md#fromjson)*
*Defined in [codec/UInt.ts:57](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L57)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| input | `any` |
**Returns:** [UInt](_codec_uint_.uint.md)
___
<a id="fromu8a"></a>
## fromU8a
▸ **fromU8a**(input: *`Uint8Array`*): [UInt](_codec_uint_.uint.md)
*Inherited from [UInt](_codec_uint_.uint.md).[fromU8a](_codec_uint_.uint.md#fromu8a)*
*Overrides [Base](_codec_base_.base.md).[fromU8a](_codec_base_.base.md#fromu8a)*
*Defined in [codec/UInt.ts:63](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L63)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| input | `Uint8Array` |
**Returns:** [UInt](_codec_uint_.uint.md)
___
<a id="gt"></a>
## gt
▸ **gt**(test: * [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`*): `boolean`
*Inherited from [UInt](_codec_uint_.uint.md).[gt](_codec_uint_.uint.md#gt)*
*Defined in [codec/UInt.ts:129](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L129)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| test | [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`|
**Returns:** `boolean`
___
<a id="gte"></a>
## gte
▸ **gte**(test: * [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`*): `boolean`
*Inherited from [UInt](_codec_uint_.uint.md).[gte](_codec_uint_.uint.md#gte)*
*Defined in [codec/UInt.ts:135](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L135)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| test | [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`|
**Returns:** `boolean`
___
<a id="iszero"></a>
## isZero
▸ **isZero**(): `boolean`
*Inherited from [UInt](_codec_uint_.uint.md).[isZero](_codec_uint_.uint.md#iszero)*
*Defined in [codec/UInt.ts:113](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L113)*
**Returns:** `boolean`
___
<a id="lt"></a>
## lt
▸ **lt**(test: * [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`*): `boolean`
*Inherited from [UInt](_codec_uint_.uint.md).[lt](_codec_uint_.uint.md#lt)*
*Defined in [codec/UInt.ts:117](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L117)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| test | [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`|
**Returns:** `boolean`
___
<a id="lte"></a>
## lte
▸ **lte**(test: * [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`*): `boolean`
*Inherited from [UInt](_codec_uint_.uint.md).[lte](_codec_uint_.uint.md#lte)*
*Defined in [codec/UInt.ts:123](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L123)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| test | [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`|
**Returns:** `boolean`
___
<a id="mul"></a>
## mul
▸ **mul**(other: * [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`*): `BN`
*Inherited from [UInt](_codec_uint_.uint.md).[mul](_codec_uint_.uint.md#mul)*
*Defined in [codec/UInt.ts:141](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L141)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| other | [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`|
**Returns:** `BN`
___
<a id="sub"></a>
## sub
▸ **sub**(other: * [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`*): `BN`
*Inherited from [UInt](_codec_uint_.uint.md).[sub](_codec_uint_.uint.md#sub)*
*Defined in [codec/UInt.ts:147](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L147)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| other | [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`|
**Returns:** `BN`
___
<a id="tobn"></a>
## toBn
▸ **toBn**(): `BN`
*Inherited from [UInt](_codec_uint_.uint.md).[toBn](_codec_uint_.uint.md#tobn)*
*Defined in [codec/UInt.ts:85](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L85)*
**Returns:** `BN`
___
<a id="tohex"></a>
## toHex
▸ **toHex**(): `string`
*Inherited from [UInt](_codec_uint_.uint.md).[toHex](_codec_uint_.uint.md#tohex)*
*Defined in [codec/UInt.ts:69](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L69)*
**Returns:** `string`
___
<a id="tojson"></a>
## toJSON
▸ **toJSON**(): `any`
*Inherited from [UInt](_codec_uint_.uint.md).[toJSON](_codec_uint_.uint.md#tojson)*
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
*Defined in [codec/UInt.ts:73](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L73)*
**Returns:** `any`
___
<a id="tonumber"></a>
## toNumber
▸ **toNumber**(): `number`
*Inherited from [UInt](_codec_uint_.uint.md).[toNumber](_codec_uint_.uint.md#tonumber)*
*Defined in [codec/UInt.ts:89](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L89)*
**Returns:** `number`
___
<a id="tostring"></a>
## toString
▸ **toString**(): `string`
*Inherited from [UInt](_codec_uint_.uint.md).[toString](_codec_uint_.uint.md#tostring)*
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
*Defined in [codec/UInt.ts:81](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L81)*
**Returns:** `string`
___
<a id="tou8a"></a>
## toU8a
▸ **toU8a**(isBare?: * `undefined` &#124; `false` &#124; `true`*): `Uint8Array`
*Inherited from [UInt](_codec_uint_.uint.md).[toU8a](_codec_uint_.uint.md#tou8a)*
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
*Defined in [codec/UInt.ts:77](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L77)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| `Optional` isBare | `undefined` &#124; `false` &#124; `true`|
**Returns:** `Uint8Array`
___
<a id="decode"></a>
## `<Static>` decode
▸ **decode**(value: *[AnyNumber](../modules/_types_d_.md#anynumber)*): `BN`
*Inherited from [UInt](_codec_uint_.uint.md).[decode](_codec_uint_.uint.md#decode)*
*Defined in [codec/UInt.ts:38](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L38)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| value | [AnyNumber](../modules/_types_d_.md#anynumber) |
**Returns:** `BN`
___
@@ -0,0 +1,351 @@
# Type parameters
#### T : [Base](_codec_base_.base.md)
# Hierarchy
↳ [Extrinsics](_extrinsics_.extrinsics.md)
**↳ PendingExtrinsics**
# Constructors
<a id="constructor"></a>
## constructor
⊕ **new PendingExtrinsics**(Type: *`object`*, value?: *`Array`<`any`>*): [PendingExtrinsics](_pendingextrinsics_.pendingextrinsics.md)
*Inherited from [Vector](_codec_vector_.vector.md).[constructor](_codec_vector_.vector.md#constructor)*
*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/48e57f9/packages/types/src/codec/Vector.ts#L19)*
**Parameters:**
| Param | Type | Default value |
| ------ | ------ | ------ |
| Type | `object` | - |
| `Default value` value | `Array`<`any`> | [] as Array&lt;any&gt; |
**Returns:** [PendingExtrinsics](_pendingextrinsics_.pendingextrinsics.md)
___
# Properties
<a id="raw"></a>
## raw
**● raw**: *`Array`<`T`>*
*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/48e57f9/packages/types/src/codec/Base.ts#L19)*
___
# Accessors
<a id="type"></a>
## Type
getType(): `string`
*Inherited from [Vector](_codec_vector_.vector.md).[Type](_codec_vector_.vector.md#type)*
*Defined in [codec/Vector.ts:42](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Vector.ts#L42)*
**Returns:** `string`
___
<a id="length"></a>
## length
getlength(): `number`
*Inherited from [Vector](_codec_vector_.vector.md).[length](_codec_vector_.vector.md#length)*
*Defined in [codec/Vector.ts:46](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Vector.ts#L46)*
**Returns:** `number`
___
# Methods
<a id="bytelength"></a>
## byteLength
▸ **byteLength**(): `number`
*Inherited from [Vector](_codec_vector_.vector.md).[byteLength](_codec_vector_.vector.md#bytelength)*
*Overrides [Base](_codec_base_.base.md).[byteLength](_codec_base_.base.md#bytelength)*
*Defined in [codec/Vector.ts:50](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Vector.ts#L50)*
**Returns:** `number`
___
<a id="filter"></a>
## filter
▸ **filter**(fn: *`function`*): `Array`<`T`>
*Inherited from [Vector](_codec_vector_.vector.md).[filter](_codec_vector_.vector.md#filter)*
*Defined in [codec/Vector.ts:56](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Vector.ts#L56)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| fn | `function` |
**Returns:** `Array`<`T`>
___
<a id="find"></a>
## find
▸ **find**(fn: *`function`*): `T` &#124; `undefined`
*Inherited from [Vector](_codec_vector_.vector.md).[find](_codec_vector_.vector.md#find)*
*Defined in [codec/Vector.ts:60](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Vector.ts#L60)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| fn | `function` |
**Returns:** `T` &#124; `undefined`
___
<a id="foreach"></a>
## forEach
▸ **forEach**(fn: *`function`*): `any`
*Inherited from [Vector](_codec_vector_.vector.md).[forEach](_codec_vector_.vector.md#foreach)*
*Defined in [codec/Vector.ts:64](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Vector.ts#L64)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| fn | `function` |
**Returns:** `any`
___
<a id="fromjson"></a>
## fromJSON
▸ **fromJSON**(input: *`any`*): [Vector](_codec_vector_.vector.md)<`T`>
*Inherited from [Vector](_codec_vector_.vector.md).[fromJSON](_codec_vector_.vector.md#fromjson)*
*Overrides [Base](_codec_base_.base.md).[fromJSON](_codec_base_.base.md#fromjson)*
*Defined in [codec/Vector.ts:68](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Vector.ts#L68)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| input | `any` |
**Returns:** [Vector](_codec_vector_.vector.md)<`T`>
___
<a id="fromu8a"></a>
## fromU8a
▸ **fromU8a**(input: *`Uint8Array`*): [Vector](_codec_vector_.vector.md)<`T`>
*Inherited from [Vector](_codec_vector_.vector.md).[fromU8a](_codec_vector_.vector.md#fromu8a)*
*Overrides [Base](_codec_base_.base.md).[fromU8a](_codec_base_.base.md#fromu8a)*
*Defined in [codec/Vector.ts:76](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Vector.ts#L76)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| input | `Uint8Array` |
**Returns:** [Vector](_codec_vector_.vector.md)<`T`>
___
<a id="get"></a>
## get
▸ **get**(index: *`number`*): `T`
*Inherited from [Vector](_codec_vector_.vector.md).[get](_codec_vector_.vector.md#get)*
*Defined in [codec/Vector.ts:93](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Vector.ts#L93)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| index | `number` |
**Returns:** `T`
___
<a id="map"></a>
## map
▸ **map**<`O`>(fn: *`function`*): `Array`<`O`>
*Inherited from [Vector](_codec_vector_.vector.md).[map](_codec_vector_.vector.md#map)*
*Defined in [codec/Vector.ts:97](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Vector.ts#L97)*
**Type parameters:**
#### O
**Parameters:**
| Param | Type |
| ------ | ------ |
| fn | `function` |
**Returns:** `Array`<`O`>
___
<a id="push"></a>
## push
▸ **push**(item: *`T`*): `void`
*Inherited from [Vector](_codec_vector_.vector.md).[push](_codec_vector_.vector.md#push)*
*Defined in [codec/Vector.ts:101](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Vector.ts#L101)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| item | `T` |
**Returns:** `void`
___
<a id="reduce"></a>
## reduce
▸ **reduce**<`O`>(fn: *`function`*, initial: *`O`*): `O`
*Inherited from [Vector](_codec_vector_.vector.md).[reduce](_codec_vector_.vector.md#reduce)*
*Defined in [codec/Vector.ts:106](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Vector.ts#L106)*
**Type parameters:**
#### O
**Parameters:**
| Param | Type |
| ------ | ------ |
| fn | `function` |
| initial | `O` |
**Returns:** `O`
___
<a id="tojson"></a>
## toJSON
▸ **toJSON**(): `any`
*Inherited from [Vector](_codec_vector_.vector.md).[toJSON](_codec_vector_.vector.md#tojson)*
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
*Defined in [codec/Vector.ts:110](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Vector.ts#L110)*
**Returns:** `any`
___
<a id="tostring"></a>
## toString
▸ **toString**(): `string`
*Inherited from [Vector](_codec_vector_.vector.md).[toString](_codec_vector_.vector.md#tostring)*
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
*Defined in [codec/Vector.ts:125](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Vector.ts#L125)*
**Returns:** `string`
___
<a id="tou8a"></a>
## toU8a
▸ **toU8a**(isBare?: * `undefined` &#124; `false` &#124; `true`*): `Uint8Array`
*Inherited from [Vector](_codec_vector_.vector.md).[toU8a](_codec_vector_.vector.md#tou8a)*
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
*Defined in [codec/Vector.ts:116](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Vector.ts#L116)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| `Optional` isBare | `undefined` &#124; `false` &#124; `true`|
**Returns:** `Uint8Array`
___
<a id="with"></a>
## `<Static>` with
▸ **with**<`O`>(Type: *`object`*): `object`
*Inherited from [Vector](_codec_vector_.vector.md).[with](_codec_vector_.vector.md#with)*
*Defined in [codec/Vector.ts:34](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Vector.ts#L34)*
**Type parameters:**
#### O : [Base](_codec_base_.base.md)
**Parameters:**
| Param | Type |
| ------ | ------ |
| Type | `object` |
**Returns:** `object`
___
+399
View File
@@ -0,0 +1,399 @@
# Hierarchy
↳ [U32](_u32_.u32.md)
**↳ Perbill**
# Constructors
<a id="constructor"></a>
## constructor
⊕ **new Perbill**(value?: *[AnyNumber](../modules/_types_d_.md#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/48e57f9/packages/types/src/U32.ts#L9)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| `Optional` value | [AnyNumber](../modules/_types_d_.md#anynumber) |
**Returns:** [Perbill](_perbill_.perbill.md)
___
# Properties
<a id="raw"></a>
## raw
**● raw**: *`BN`*
*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/48e57f9/packages/types/src/codec/Base.ts#L19)*
___
# Methods
<a id="add"></a>
## add
▸ **add**(other: * [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`*): `BN`
*Inherited from [UInt](_codec_uint_.uint.md).[add](_codec_uint_.uint.md#add)*
*Defined in [codec/UInt.ts:95](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L95)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| other | [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`|
**Returns:** `BN`
___
<a id="bytelength"></a>
## byteLength
▸ **byteLength**(): `number`
*Inherited from [UInt](_codec_uint_.uint.md).[byteLength](_codec_uint_.uint.md#bytelength)*
*Overrides [Base](_codec_base_.base.md).[byteLength](_codec_base_.base.md#bytelength)*
*Defined in [codec/UInt.ts:53](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L53)*
**Returns:** `number`
___
<a id="cmp"></a>
## cmp
▸ **cmp**(other: * [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`*): `number`
*Inherited from [UInt](_codec_uint_.uint.md).[cmp](_codec_uint_.uint.md#cmp)*
*Defined in [codec/UInt.ts:101](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L101)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| other | [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`|
**Returns:** `number`
___
<a id="div"></a>
## div
▸ **div**(other: * [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`*): `BN`
*Inherited from [UInt](_codec_uint_.uint.md).[div](_codec_uint_.uint.md#div)*
*Defined in [codec/UInt.ts:107](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L107)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| other | [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`|
**Returns:** `BN`
___
<a id="fromjson"></a>
## fromJSON
▸ **fromJSON**(input: *`any`*): [UInt](_codec_uint_.uint.md)
*Inherited from [UInt](_codec_uint_.uint.md).[fromJSON](_codec_uint_.uint.md#fromjson)*
*Overrides [Base](_codec_base_.base.md).[fromJSON](_codec_base_.base.md#fromjson)*
*Defined in [codec/UInt.ts:57](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L57)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| input | `any` |
**Returns:** [UInt](_codec_uint_.uint.md)
___
<a id="fromu8a"></a>
## fromU8a
▸ **fromU8a**(input: *`Uint8Array`*): [UInt](_codec_uint_.uint.md)
*Inherited from [UInt](_codec_uint_.uint.md).[fromU8a](_codec_uint_.uint.md#fromu8a)*
*Overrides [Base](_codec_base_.base.md).[fromU8a](_codec_base_.base.md#fromu8a)*
*Defined in [codec/UInt.ts:63](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L63)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| input | `Uint8Array` |
**Returns:** [UInt](_codec_uint_.uint.md)
___
<a id="gt"></a>
## gt
▸ **gt**(test: * [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`*): `boolean`
*Inherited from [UInt](_codec_uint_.uint.md).[gt](_codec_uint_.uint.md#gt)*
*Defined in [codec/UInt.ts:129](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L129)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| test | [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`|
**Returns:** `boolean`
___
<a id="gte"></a>
## gte
▸ **gte**(test: * [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`*): `boolean`
*Inherited from [UInt](_codec_uint_.uint.md).[gte](_codec_uint_.uint.md#gte)*
*Defined in [codec/UInt.ts:135](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L135)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| test | [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`|
**Returns:** `boolean`
___
<a id="iszero"></a>
## isZero
▸ **isZero**(): `boolean`
*Inherited from [UInt](_codec_uint_.uint.md).[isZero](_codec_uint_.uint.md#iszero)*
*Defined in [codec/UInt.ts:113](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L113)*
**Returns:** `boolean`
___
<a id="lt"></a>
## lt
▸ **lt**(test: * [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`*): `boolean`
*Inherited from [UInt](_codec_uint_.uint.md).[lt](_codec_uint_.uint.md#lt)*
*Defined in [codec/UInt.ts:117](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L117)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| test | [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`|
**Returns:** `boolean`
___
<a id="lte"></a>
## lte
▸ **lte**(test: * [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`*): `boolean`
*Inherited from [UInt](_codec_uint_.uint.md).[lte](_codec_uint_.uint.md#lte)*
*Defined in [codec/UInt.ts:123](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L123)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| test | [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`|
**Returns:** `boolean`
___
<a id="mul"></a>
## mul
▸ **mul**(other: * [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`*): `BN`
*Inherited from [UInt](_codec_uint_.uint.md).[mul](_codec_uint_.uint.md#mul)*
*Defined in [codec/UInt.ts:141](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L141)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| other | [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`|
**Returns:** `BN`
___
<a id="sub"></a>
## sub
▸ **sub**(other: * [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`*): `BN`
*Inherited from [UInt](_codec_uint_.uint.md).[sub](_codec_uint_.uint.md#sub)*
*Defined in [codec/UInt.ts:147](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L147)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| other | [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`|
**Returns:** `BN`
___
<a id="tobn"></a>
## toBn
▸ **toBn**(): `BN`
*Inherited from [UInt](_codec_uint_.uint.md).[toBn](_codec_uint_.uint.md#tobn)*
*Defined in [codec/UInt.ts:85](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L85)*
**Returns:** `BN`
___
<a id="tohex"></a>
## toHex
▸ **toHex**(): `string`
*Inherited from [UInt](_codec_uint_.uint.md).[toHex](_codec_uint_.uint.md#tohex)*
*Defined in [codec/UInt.ts:69](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L69)*
**Returns:** `string`
___
<a id="tojson"></a>
## toJSON
▸ **toJSON**(): `any`
*Inherited from [UInt](_codec_uint_.uint.md).[toJSON](_codec_uint_.uint.md#tojson)*
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
*Defined in [codec/UInt.ts:73](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L73)*
**Returns:** `any`
___
<a id="tonumber"></a>
## toNumber
▸ **toNumber**(): `number`
*Inherited from [UInt](_codec_uint_.uint.md).[toNumber](_codec_uint_.uint.md#tonumber)*
*Defined in [codec/UInt.ts:89](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L89)*
**Returns:** `number`
___
<a id="tostring"></a>
## toString
▸ **toString**(): `string`
*Inherited from [UInt](_codec_uint_.uint.md).[toString](_codec_uint_.uint.md#tostring)*
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
*Defined in [codec/UInt.ts:81](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L81)*
**Returns:** `string`
___
<a id="tou8a"></a>
## toU8a
▸ **toU8a**(isBare?: * `undefined` &#124; `false` &#124; `true`*): `Uint8Array`
*Inherited from [UInt](_codec_uint_.uint.md).[toU8a](_codec_uint_.uint.md#tou8a)*
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
*Defined in [codec/UInt.ts:77](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L77)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| `Optional` isBare | `undefined` &#124; `false` &#124; `true`|
**Returns:** `Uint8Array`
___
<a id="decode"></a>
## `<Static>` decode
▸ **decode**(value: *[AnyNumber](../modules/_types_d_.md#anynumber)*): `BN`
*Inherited from [UInt](_codec_uint_.uint.md).[decode](_codec_uint_.uint.md#decode)*
*Defined in [codec/UInt.ts:38](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L38)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| value | [AnyNumber](../modules/_types_d_.md#anynumber) |
**Returns:** `BN`
___
+399
View File
@@ -0,0 +1,399 @@
# Hierarchy
↳ [U32](_u32_.u32.md)
**↳ Permill**
# Constructors
<a id="constructor"></a>
## constructor
⊕ **new Permill**(value?: *[AnyNumber](../modules/_types_d_.md#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/48e57f9/packages/types/src/U32.ts#L9)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| `Optional` value | [AnyNumber](../modules/_types_d_.md#anynumber) |
**Returns:** [Permill](_permill_.permill.md)
___
# Properties
<a id="raw"></a>
## raw
**● raw**: *`BN`*
*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/48e57f9/packages/types/src/codec/Base.ts#L19)*
___
# Methods
<a id="add"></a>
## add
▸ **add**(other: * [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`*): `BN`
*Inherited from [UInt](_codec_uint_.uint.md).[add](_codec_uint_.uint.md#add)*
*Defined in [codec/UInt.ts:95](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L95)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| other | [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`|
**Returns:** `BN`
___
<a id="bytelength"></a>
## byteLength
▸ **byteLength**(): `number`
*Inherited from [UInt](_codec_uint_.uint.md).[byteLength](_codec_uint_.uint.md#bytelength)*
*Overrides [Base](_codec_base_.base.md).[byteLength](_codec_base_.base.md#bytelength)*
*Defined in [codec/UInt.ts:53](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L53)*
**Returns:** `number`
___
<a id="cmp"></a>
## cmp
▸ **cmp**(other: * [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`*): `number`
*Inherited from [UInt](_codec_uint_.uint.md).[cmp](_codec_uint_.uint.md#cmp)*
*Defined in [codec/UInt.ts:101](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L101)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| other | [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`|
**Returns:** `number`
___
<a id="div"></a>
## div
▸ **div**(other: * [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`*): `BN`
*Inherited from [UInt](_codec_uint_.uint.md).[div](_codec_uint_.uint.md#div)*
*Defined in [codec/UInt.ts:107](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L107)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| other | [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`|
**Returns:** `BN`
___
<a id="fromjson"></a>
## fromJSON
▸ **fromJSON**(input: *`any`*): [UInt](_codec_uint_.uint.md)
*Inherited from [UInt](_codec_uint_.uint.md).[fromJSON](_codec_uint_.uint.md#fromjson)*
*Overrides [Base](_codec_base_.base.md).[fromJSON](_codec_base_.base.md#fromjson)*
*Defined in [codec/UInt.ts:57](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L57)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| input | `any` |
**Returns:** [UInt](_codec_uint_.uint.md)
___
<a id="fromu8a"></a>
## fromU8a
▸ **fromU8a**(input: *`Uint8Array`*): [UInt](_codec_uint_.uint.md)
*Inherited from [UInt](_codec_uint_.uint.md).[fromU8a](_codec_uint_.uint.md#fromu8a)*
*Overrides [Base](_codec_base_.base.md).[fromU8a](_codec_base_.base.md#fromu8a)*
*Defined in [codec/UInt.ts:63](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L63)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| input | `Uint8Array` |
**Returns:** [UInt](_codec_uint_.uint.md)
___
<a id="gt"></a>
## gt
▸ **gt**(test: * [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`*): `boolean`
*Inherited from [UInt](_codec_uint_.uint.md).[gt](_codec_uint_.uint.md#gt)*
*Defined in [codec/UInt.ts:129](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L129)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| test | [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`|
**Returns:** `boolean`
___
<a id="gte"></a>
## gte
▸ **gte**(test: * [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`*): `boolean`
*Inherited from [UInt](_codec_uint_.uint.md).[gte](_codec_uint_.uint.md#gte)*
*Defined in [codec/UInt.ts:135](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L135)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| test | [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`|
**Returns:** `boolean`
___
<a id="iszero"></a>
## isZero
▸ **isZero**(): `boolean`
*Inherited from [UInt](_codec_uint_.uint.md).[isZero](_codec_uint_.uint.md#iszero)*
*Defined in [codec/UInt.ts:113](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L113)*
**Returns:** `boolean`
___
<a id="lt"></a>
## lt
▸ **lt**(test: * [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`*): `boolean`
*Inherited from [UInt](_codec_uint_.uint.md).[lt](_codec_uint_.uint.md#lt)*
*Defined in [codec/UInt.ts:117](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L117)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| test | [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`|
**Returns:** `boolean`
___
<a id="lte"></a>
## lte
▸ **lte**(test: * [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`*): `boolean`
*Inherited from [UInt](_codec_uint_.uint.md).[lte](_codec_uint_.uint.md#lte)*
*Defined in [codec/UInt.ts:123](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L123)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| test | [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`|
**Returns:** `boolean`
___
<a id="mul"></a>
## mul
▸ **mul**(other: * [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`*): `BN`
*Inherited from [UInt](_codec_uint_.uint.md).[mul](_codec_uint_.uint.md#mul)*
*Defined in [codec/UInt.ts:141](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L141)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| other | [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`|
**Returns:** `BN`
___
<a id="sub"></a>
## sub
▸ **sub**(other: * [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`*): `BN`
*Inherited from [UInt](_codec_uint_.uint.md).[sub](_codec_uint_.uint.md#sub)*
*Defined in [codec/UInt.ts:147](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L147)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| other | [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`|
**Returns:** `BN`
___
<a id="tobn"></a>
## toBn
▸ **toBn**(): `BN`
*Inherited from [UInt](_codec_uint_.uint.md).[toBn](_codec_uint_.uint.md#tobn)*
*Defined in [codec/UInt.ts:85](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L85)*
**Returns:** `BN`
___
<a id="tohex"></a>
## toHex
▸ **toHex**(): `string`
*Inherited from [UInt](_codec_uint_.uint.md).[toHex](_codec_uint_.uint.md#tohex)*
*Defined in [codec/UInt.ts:69](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L69)*
**Returns:** `string`
___
<a id="tojson"></a>
## toJSON
▸ **toJSON**(): `any`
*Inherited from [UInt](_codec_uint_.uint.md).[toJSON](_codec_uint_.uint.md#tojson)*
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
*Defined in [codec/UInt.ts:73](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L73)*
**Returns:** `any`
___
<a id="tonumber"></a>
## toNumber
▸ **toNumber**(): `number`
*Inherited from [UInt](_codec_uint_.uint.md).[toNumber](_codec_uint_.uint.md#tonumber)*
*Defined in [codec/UInt.ts:89](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L89)*
**Returns:** `number`
___
<a id="tostring"></a>
## toString
▸ **toString**(): `string`
*Inherited from [UInt](_codec_uint_.uint.md).[toString](_codec_uint_.uint.md#tostring)*
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
*Defined in [codec/UInt.ts:81](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L81)*
**Returns:** `string`
___
<a id="tou8a"></a>
## toU8a
▸ **toU8a**(isBare?: * `undefined` &#124; `false` &#124; `true`*): `Uint8Array`
*Inherited from [UInt](_codec_uint_.uint.md).[toU8a](_codec_uint_.uint.md#tou8a)*
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
*Defined in [codec/UInt.ts:77](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L77)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| `Optional` isBare | `undefined` &#124; `false` &#124; `true`|
**Returns:** `Uint8Array`
___
<a id="decode"></a>
## `<Static>` decode
▸ **decode**(value: *[AnyNumber](../modules/_types_d_.md#anynumber)*): `BN`
*Inherited from [UInt](_codec_uint_.uint.md).[decode](_codec_uint_.uint.md#decode)*
*Defined in [codec/UInt.ts:38](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L38)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| value | [AnyNumber](../modules/_types_d_.md#anynumber) |
**Returns:** `BN`
___
+399
View File
@@ -0,0 +1,399 @@
# Hierarchy
↳ [U32](_u32_.u32.md)
**↳ PropIndex**
# Constructors
<a id="constructor"></a>
## constructor
⊕ **new PropIndex**(value?: *[AnyNumber](../modules/_types_d_.md#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/48e57f9/packages/types/src/U32.ts#L9)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| `Optional` value | [AnyNumber](../modules/_types_d_.md#anynumber) |
**Returns:** [PropIndex](_propindex_.propindex.md)
___
# Properties
<a id="raw"></a>
## raw
**● raw**: *`BN`*
*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/48e57f9/packages/types/src/codec/Base.ts#L19)*
___
# Methods
<a id="add"></a>
## add
▸ **add**(other: * [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`*): `BN`
*Inherited from [UInt](_codec_uint_.uint.md).[add](_codec_uint_.uint.md#add)*
*Defined in [codec/UInt.ts:95](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L95)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| other | [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`|
**Returns:** `BN`
___
<a id="bytelength"></a>
## byteLength
▸ **byteLength**(): `number`
*Inherited from [UInt](_codec_uint_.uint.md).[byteLength](_codec_uint_.uint.md#bytelength)*
*Overrides [Base](_codec_base_.base.md).[byteLength](_codec_base_.base.md#bytelength)*
*Defined in [codec/UInt.ts:53](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L53)*
**Returns:** `number`
___
<a id="cmp"></a>
## cmp
▸ **cmp**(other: * [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`*): `number`
*Inherited from [UInt](_codec_uint_.uint.md).[cmp](_codec_uint_.uint.md#cmp)*
*Defined in [codec/UInt.ts:101](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L101)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| other | [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`|
**Returns:** `number`
___
<a id="div"></a>
## div
▸ **div**(other: * [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`*): `BN`
*Inherited from [UInt](_codec_uint_.uint.md).[div](_codec_uint_.uint.md#div)*
*Defined in [codec/UInt.ts:107](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L107)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| other | [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`|
**Returns:** `BN`
___
<a id="fromjson"></a>
## fromJSON
▸ **fromJSON**(input: *`any`*): [UInt](_codec_uint_.uint.md)
*Inherited from [UInt](_codec_uint_.uint.md).[fromJSON](_codec_uint_.uint.md#fromjson)*
*Overrides [Base](_codec_base_.base.md).[fromJSON](_codec_base_.base.md#fromjson)*
*Defined in [codec/UInt.ts:57](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L57)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| input | `any` |
**Returns:** [UInt](_codec_uint_.uint.md)
___
<a id="fromu8a"></a>
## fromU8a
▸ **fromU8a**(input: *`Uint8Array`*): [UInt](_codec_uint_.uint.md)
*Inherited from [UInt](_codec_uint_.uint.md).[fromU8a](_codec_uint_.uint.md#fromu8a)*
*Overrides [Base](_codec_base_.base.md).[fromU8a](_codec_base_.base.md#fromu8a)*
*Defined in [codec/UInt.ts:63](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L63)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| input | `Uint8Array` |
**Returns:** [UInt](_codec_uint_.uint.md)
___
<a id="gt"></a>
## gt
▸ **gt**(test: * [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`*): `boolean`
*Inherited from [UInt](_codec_uint_.uint.md).[gt](_codec_uint_.uint.md#gt)*
*Defined in [codec/UInt.ts:129](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L129)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| test | [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`|
**Returns:** `boolean`
___
<a id="gte"></a>
## gte
▸ **gte**(test: * [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`*): `boolean`
*Inherited from [UInt](_codec_uint_.uint.md).[gte](_codec_uint_.uint.md#gte)*
*Defined in [codec/UInt.ts:135](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L135)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| test | [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`|
**Returns:** `boolean`
___
<a id="iszero"></a>
## isZero
▸ **isZero**(): `boolean`
*Inherited from [UInt](_codec_uint_.uint.md).[isZero](_codec_uint_.uint.md#iszero)*
*Defined in [codec/UInt.ts:113](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L113)*
**Returns:** `boolean`
___
<a id="lt"></a>
## lt
▸ **lt**(test: * [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`*): `boolean`
*Inherited from [UInt](_codec_uint_.uint.md).[lt](_codec_uint_.uint.md#lt)*
*Defined in [codec/UInt.ts:117](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L117)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| test | [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`|
**Returns:** `boolean`
___
<a id="lte"></a>
## lte
▸ **lte**(test: * [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`*): `boolean`
*Inherited from [UInt](_codec_uint_.uint.md).[lte](_codec_uint_.uint.md#lte)*
*Defined in [codec/UInt.ts:123](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L123)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| test | [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`|
**Returns:** `boolean`
___
<a id="mul"></a>
## mul
▸ **mul**(other: * [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`*): `BN`
*Inherited from [UInt](_codec_uint_.uint.md).[mul](_codec_uint_.uint.md#mul)*
*Defined in [codec/UInt.ts:141](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L141)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| other | [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`|
**Returns:** `BN`
___
<a id="sub"></a>
## sub
▸ **sub**(other: * [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`*): `BN`
*Inherited from [UInt](_codec_uint_.uint.md).[sub](_codec_uint_.uint.md#sub)*
*Defined in [codec/UInt.ts:147](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L147)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| other | [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`|
**Returns:** `BN`
___
<a id="tobn"></a>
## toBn
▸ **toBn**(): `BN`
*Inherited from [UInt](_codec_uint_.uint.md).[toBn](_codec_uint_.uint.md#tobn)*
*Defined in [codec/UInt.ts:85](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L85)*
**Returns:** `BN`
___
<a id="tohex"></a>
## toHex
▸ **toHex**(): `string`
*Inherited from [UInt](_codec_uint_.uint.md).[toHex](_codec_uint_.uint.md#tohex)*
*Defined in [codec/UInt.ts:69](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L69)*
**Returns:** `string`
___
<a id="tojson"></a>
## toJSON
▸ **toJSON**(): `any`
*Inherited from [UInt](_codec_uint_.uint.md).[toJSON](_codec_uint_.uint.md#tojson)*
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
*Defined in [codec/UInt.ts:73](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L73)*
**Returns:** `any`
___
<a id="tonumber"></a>
## toNumber
▸ **toNumber**(): `number`
*Inherited from [UInt](_codec_uint_.uint.md).[toNumber](_codec_uint_.uint.md#tonumber)*
*Defined in [codec/UInt.ts:89](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L89)*
**Returns:** `number`
___
<a id="tostring"></a>
## toString
▸ **toString**(): `string`
*Inherited from [UInt](_codec_uint_.uint.md).[toString](_codec_uint_.uint.md#tostring)*
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
*Defined in [codec/UInt.ts:81](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L81)*
**Returns:** `string`
___
<a id="tou8a"></a>
## toU8a
▸ **toU8a**(isBare?: * `undefined` &#124; `false` &#124; `true`*): `Uint8Array`
*Inherited from [UInt](_codec_uint_.uint.md).[toU8a](_codec_uint_.uint.md#tou8a)*
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
*Defined in [codec/UInt.ts:77](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L77)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| `Optional` isBare | `undefined` &#124; `false` &#124; `true`|
**Returns:** `Uint8Array`
___
<a id="decode"></a>
## `<Static>` decode
▸ **decode**(value: *[AnyNumber](../modules/_types_d_.md#anynumber)*): `BN`
*Inherited from [UInt](_codec_uint_.uint.md).[decode](_codec_uint_.uint.md#decode)*
*Defined in [codec/UInt.ts:38](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L38)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| value | [AnyNumber](../modules/_types_d_.md#anynumber) |
**Returns:** `BN`
___
+212
View File
@@ -0,0 +1,212 @@
# Hierarchy
↳ [Extrinsic](_extrinsic_.extrinsic.md)
**↳ Proposal**
# Constructors
<a id="constructor"></a>
## constructor
⊕ **new Proposal**(value?: *[AnyU8a](../modules/_types_d_.md#anyu8a)*): [Proposal](_proposal_.proposal.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:16](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/Bytes.ts#L16)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| `Optional` value | [AnyU8a](../modules/_types_d_.md#anyu8a) |
**Returns:** [Proposal](_proposal_.proposal.md)
___
# Properties
<a id="_length"></a>
## `<Protected>` _length
**● _length**: *[Length](_codec_length_.length.md)*
*Inherited from [Bytes](_bytes_.bytes.md).[_length](_bytes_.bytes.md#_length)*
*Defined in [Bytes.ts:16](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/Bytes.ts#L16)*
___
<a id="raw"></a>
## raw
**● raw**: *`Uint8Array`*
*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/48e57f9/packages/types/src/codec/Base.ts#L19)*
___
# Accessors
<a id="hash"></a>
## hash
gethash(): [Hash](_hash_.hash.md)
*Inherited from [Extrinsic](_extrinsic_.extrinsic.md).[hash](_extrinsic_.extrinsic.md#hash)*
*Defined in [Extrinsic.ts:16](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/Extrinsic.ts#L16)*
**Returns:** [Hash](_hash_.hash.md)
___
<a id="length"></a>
## length
getlength(): `number`
*Inherited from [Bytes](_bytes_.bytes.md).[length](_bytes_.bytes.md#length)*
*Overrides [U8a](_codec_u8a_.u8a.md).[length](_codec_u8a_.u8a.md#length)*
*Defined in [Bytes.ts:24](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/Bytes.ts#L24)*
**Returns:** `number`
___
# Methods
<a id="bytelength"></a>
## byteLength
▸ **byteLength**(): `number`
*Inherited from [Bytes](_bytes_.bytes.md).[byteLength](_bytes_.bytes.md#bytelength)*
*Overrides [U8a](_codec_u8a_.u8a.md).[byteLength](_codec_u8a_.u8a.md#bytelength)*
*Defined in [Bytes.ts:28](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/Bytes.ts#L28)*
**Returns:** `number`
___
<a id="fromjson"></a>
## fromJSON
▸ **fromJSON**(input: *`any`*): [Bytes](_bytes_.bytes.md)
*Inherited from [Bytes](_bytes_.bytes.md).[fromJSON](_bytes_.bytes.md#fromjson)*
*Overrides [U8a](_codec_u8a_.u8a.md).[fromJSON](_codec_u8a_.u8a.md#fromjson)*
*Defined in [Bytes.ts:32](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/Bytes.ts#L32)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| input | `any` |
**Returns:** [Bytes](_bytes_.bytes.md)
___
<a id="fromu8a"></a>
## fromU8a
▸ **fromU8a**(input: *`Uint8Array`*): [Bytes](_bytes_.bytes.md)
*Inherited from [Bytes](_bytes_.bytes.md).[fromU8a](_bytes_.bytes.md#fromu8a)*
*Overrides [U8a](_codec_u8a_.u8a.md).[fromU8a](_codec_u8a_.u8a.md#fromu8a)*
*Defined in [Bytes.ts:40](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/Bytes.ts#L40)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| input | `Uint8Array` |
**Returns:** [Bytes](_bytes_.bytes.md)
___
<a id="tohex"></a>
## toHex
▸ **toHex**(): `string`
*Inherited from [U8a](_codec_u8a_.u8a.md).[toHex](_codec_u8a_.u8a.md#tohex)*
*Defined in [codec/U8a.ts:45](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/U8a.ts#L45)*
**Returns:** `string`
___
<a id="tojson"></a>
## toJSON
▸ **toJSON**(): `any`
*Inherited from [U8a](_codec_u8a_.u8a.md).[toJSON](_codec_u8a_.u8a.md#tojson)*
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
*Defined in [codec/U8a.ts:49](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/U8a.ts#L49)*
**Returns:** `any`
___
<a id="tostring"></a>
## toString
▸ **toString**(): `string`
*Inherited from [U8a](_codec_u8a_.u8a.md).[toString](_codec_u8a_.u8a.md#tostring)*
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
*Defined in [codec/U8a.ts:57](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/U8a.ts#L57)*
**Returns:** `string`
___
<a id="tou8a"></a>
## toU8a
▸ **toU8a**(isBare?: * `undefined` &#124; `false` &#124; `true`*): `Uint8Array`
*Inherited from [Bytes](_bytes_.bytes.md).[toU8a](_bytes_.bytes.md#tou8a)*
*Overrides [U8a](_codec_u8a_.u8a.md).[toU8a](_codec_u8a_.u8a.md#tou8a)*
*Defined in [Bytes.ts:51](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/Bytes.ts#L51)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| `Optional` isBare | `undefined` &#124; `false` &#124; `true`|
**Returns:** `Uint8Array`
___
@@ -0,0 +1,399 @@
# Hierarchy
↳ [U32](_u32_.u32.md)
**↳ ProposalIndex**
# Constructors
<a id="constructor"></a>
## constructor
⊕ **new ProposalIndex**(value?: *[AnyNumber](../modules/_types_d_.md#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/48e57f9/packages/types/src/U32.ts#L9)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| `Optional` value | [AnyNumber](../modules/_types_d_.md#anynumber) |
**Returns:** [ProposalIndex](_proposalindex_.proposalindex.md)
___
# Properties
<a id="raw"></a>
## raw
**● raw**: *`BN`*
*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/48e57f9/packages/types/src/codec/Base.ts#L19)*
___
# Methods
<a id="add"></a>
## add
▸ **add**(other: * [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`*): `BN`
*Inherited from [UInt](_codec_uint_.uint.md).[add](_codec_uint_.uint.md#add)*
*Defined in [codec/UInt.ts:95](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L95)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| other | [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`|
**Returns:** `BN`
___
<a id="bytelength"></a>
## byteLength
▸ **byteLength**(): `number`
*Inherited from [UInt](_codec_uint_.uint.md).[byteLength](_codec_uint_.uint.md#bytelength)*
*Overrides [Base](_codec_base_.base.md).[byteLength](_codec_base_.base.md#bytelength)*
*Defined in [codec/UInt.ts:53](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L53)*
**Returns:** `number`
___
<a id="cmp"></a>
## cmp
▸ **cmp**(other: * [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`*): `number`
*Inherited from [UInt](_codec_uint_.uint.md).[cmp](_codec_uint_.uint.md#cmp)*
*Defined in [codec/UInt.ts:101](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L101)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| other | [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`|
**Returns:** `number`
___
<a id="div"></a>
## div
▸ **div**(other: * [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`*): `BN`
*Inherited from [UInt](_codec_uint_.uint.md).[div](_codec_uint_.uint.md#div)*
*Defined in [codec/UInt.ts:107](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L107)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| other | [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`|
**Returns:** `BN`
___
<a id="fromjson"></a>
## fromJSON
▸ **fromJSON**(input: *`any`*): [UInt](_codec_uint_.uint.md)
*Inherited from [UInt](_codec_uint_.uint.md).[fromJSON](_codec_uint_.uint.md#fromjson)*
*Overrides [Base](_codec_base_.base.md).[fromJSON](_codec_base_.base.md#fromjson)*
*Defined in [codec/UInt.ts:57](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L57)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| input | `any` |
**Returns:** [UInt](_codec_uint_.uint.md)
___
<a id="fromu8a"></a>
## fromU8a
▸ **fromU8a**(input: *`Uint8Array`*): [UInt](_codec_uint_.uint.md)
*Inherited from [UInt](_codec_uint_.uint.md).[fromU8a](_codec_uint_.uint.md#fromu8a)*
*Overrides [Base](_codec_base_.base.md).[fromU8a](_codec_base_.base.md#fromu8a)*
*Defined in [codec/UInt.ts:63](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L63)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| input | `Uint8Array` |
**Returns:** [UInt](_codec_uint_.uint.md)
___
<a id="gt"></a>
## gt
▸ **gt**(test: * [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`*): `boolean`
*Inherited from [UInt](_codec_uint_.uint.md).[gt](_codec_uint_.uint.md#gt)*
*Defined in [codec/UInt.ts:129](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L129)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| test | [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`|
**Returns:** `boolean`
___
<a id="gte"></a>
## gte
▸ **gte**(test: * [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`*): `boolean`
*Inherited from [UInt](_codec_uint_.uint.md).[gte](_codec_uint_.uint.md#gte)*
*Defined in [codec/UInt.ts:135](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L135)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| test | [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`|
**Returns:** `boolean`
___
<a id="iszero"></a>
## isZero
▸ **isZero**(): `boolean`
*Inherited from [UInt](_codec_uint_.uint.md).[isZero](_codec_uint_.uint.md#iszero)*
*Defined in [codec/UInt.ts:113](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L113)*
**Returns:** `boolean`
___
<a id="lt"></a>
## lt
▸ **lt**(test: * [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`*): `boolean`
*Inherited from [UInt](_codec_uint_.uint.md).[lt](_codec_uint_.uint.md#lt)*
*Defined in [codec/UInt.ts:117](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L117)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| test | [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`|
**Returns:** `boolean`
___
<a id="lte"></a>
## lte
▸ **lte**(test: * [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`*): `boolean`
*Inherited from [UInt](_codec_uint_.uint.md).[lte](_codec_uint_.uint.md#lte)*
*Defined in [codec/UInt.ts:123](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L123)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| test | [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`|
**Returns:** `boolean`
___
<a id="mul"></a>
## mul
▸ **mul**(other: * [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`*): `BN`
*Inherited from [UInt](_codec_uint_.uint.md).[mul](_codec_uint_.uint.md#mul)*
*Defined in [codec/UInt.ts:141](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L141)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| other | [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`|
**Returns:** `BN`
___
<a id="sub"></a>
## sub
▸ **sub**(other: * [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`*): `BN`
*Inherited from [UInt](_codec_uint_.uint.md).[sub](_codec_uint_.uint.md#sub)*
*Defined in [codec/UInt.ts:147](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L147)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| other | [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`|
**Returns:** `BN`
___
<a id="tobn"></a>
## toBn
▸ **toBn**(): `BN`
*Inherited from [UInt](_codec_uint_.uint.md).[toBn](_codec_uint_.uint.md#tobn)*
*Defined in [codec/UInt.ts:85](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L85)*
**Returns:** `BN`
___
<a id="tohex"></a>
## toHex
▸ **toHex**(): `string`
*Inherited from [UInt](_codec_uint_.uint.md).[toHex](_codec_uint_.uint.md#tohex)*
*Defined in [codec/UInt.ts:69](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L69)*
**Returns:** `string`
___
<a id="tojson"></a>
## toJSON
▸ **toJSON**(): `any`
*Inherited from [UInt](_codec_uint_.uint.md).[toJSON](_codec_uint_.uint.md#tojson)*
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
*Defined in [codec/UInt.ts:73](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L73)*
**Returns:** `any`
___
<a id="tonumber"></a>
## toNumber
▸ **toNumber**(): `number`
*Inherited from [UInt](_codec_uint_.uint.md).[toNumber](_codec_uint_.uint.md#tonumber)*
*Defined in [codec/UInt.ts:89](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L89)*
**Returns:** `number`
___
<a id="tostring"></a>
## toString
▸ **toString**(): `string`
*Inherited from [UInt](_codec_uint_.uint.md).[toString](_codec_uint_.uint.md#tostring)*
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
*Defined in [codec/UInt.ts:81](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L81)*
**Returns:** `string`
___
<a id="tou8a"></a>
## toU8a
▸ **toU8a**(isBare?: * `undefined` &#124; `false` &#124; `true`*): `Uint8Array`
*Inherited from [UInt](_codec_uint_.uint.md).[toU8a](_codec_uint_.uint.md#tou8a)*
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
*Defined in [codec/UInt.ts:77](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L77)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| `Optional` isBare | `undefined` &#124; `false` &#124; `true`|
**Returns:** `Uint8Array`
___
<a id="decode"></a>
## `<Static>` decode
▸ **decode**(value: *[AnyNumber](../modules/_types_d_.md#anynumber)*): `BN`
*Inherited from [UInt](_codec_uint_.uint.md).[decode](_codec_uint_.uint.md#decode)*
*Defined in [codec/UInt.ts:38](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L38)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| value | [AnyNumber](../modules/_types_d_.md#anynumber) |
**Returns:** `BN`
___
@@ -0,0 +1,215 @@
# Hierarchy
↳ [Address](_address_.address.md)
**↳ RawAddress**
# Constructors
<a id="constructor"></a>
## constructor
⊕ **new RawAddress**(value?: * [Address](_address_.address.md) &#124; [AccountId](_accountid_.accountid.md) &#124; [AccountIndex](_accountindex_.accountindex.md) &#124; `string` &#124; `Uint8Array`*): [RawAddress](_rawaddress_.rawaddress.md)
*Inherited from [Address](_address_.address.md).[constructor](_address_.address.md#constructor)*
*Overrides [Base](_codec_base_.base.md).[constructor](_codec_base_.base.md#constructor)*
*Defined in [Address.ts:19](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/Address.ts#L19)*
**Parameters:**
| Param | Type | Default value |
| ------ | ------ | ------ |
| `Default value` value | [Address](_address_.address.md) &#124; [AccountId](_accountid_.accountid.md) &#124; [AccountIndex](_accountindex_.accountindex.md) &#124; `string` &#124; `Uint8Array`| new Uint8Array() |
**Returns:** [RawAddress](_rawaddress_.rawaddress.md)
___
# Properties
<a id="raw"></a>
## raw
**● raw**: * [AccountId](_accountid_.accountid.md) &#124; [AccountIndex](_accountindex_.accountindex.md)
*
*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/48e57f9/packages/types/src/codec/Base.ts#L19)*
___
# Methods
<a id="bytelength"></a>
## byteLength
▸ **byteLength**(): `number`
*Inherited from [Address](_address_.address.md).[byteLength](_address_.address.md#bytelength)*
*Overrides [Base](_codec_base_.base.md).[byteLength](_codec_base_.base.md#bytelength)*
*Defined in [Address.ts:86](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/Address.ts#L86)*
**Returns:** `number`
___
<a id="fromjson"></a>
## fromJSON
▸ **fromJSON**(input: *`any`*): [Address](_address_.address.md)
*Inherited from [Address](_address_.address.md).[fromJSON](_address_.address.md#fromjson)*
*Overrides [Base](_codec_base_.base.md).[fromJSON](_codec_base_.base.md#fromjson)*
*Defined in [Address.ts:90](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/Address.ts#L90)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| input | `any` |
**Returns:** [Address](_address_.address.md)
___
<a id="fromu8a"></a>
## fromU8a
▸ **fromU8a**(input: *`Uint8Array`*): [Address](_address_.address.md)
*Inherited from [Address](_address_.address.md).[fromU8a](_address_.address.md#fromu8a)*
*Overrides [Base](_codec_base_.base.md).[fromU8a](_codec_base_.base.md#fromu8a)*
*Defined in [Address.ts:101](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/Address.ts#L101)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| input | `Uint8Array` |
**Returns:** [Address](_address_.address.md)
___
<a id="tojson"></a>
## toJSON
▸ **toJSON**(): `any`
*Inherited from [Address](_address_.address.md).[toJSON](_address_.address.md#tojson)*
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
*Defined in [Address.ts:109](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/Address.ts#L109)*
**Returns:** `any`
___
<a id="tostring"></a>
## toString
▸ **toString**(): `string`
*Inherited from [Address](_address_.address.md).[toString](_address_.address.md#tostring)*
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
*Defined in [Address.ts:113](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/Address.ts#L113)*
**Returns:** `string`
___
<a id="tou8a"></a>
## toU8a
▸ **toU8a**(isBare?: * `undefined` &#124; `false` &#124; `true`*): `Uint8Array`
*Inherited from [Address](_address_.address.md).[toU8a](_address_.address.md#tou8a)*
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
*Defined in [Address.ts:117](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/Address.ts#L117)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| `Optional` isBare | `undefined` &#124; `false` &#124; `true`|
**Returns:** `Uint8Array`
___
<a id="decode"></a>
## `<Static>` decode
▸ **decode**(value: * [AccountId](_accountid_.accountid.md) &#124; [AccountIndex](_accountindex_.accountindex.md) &#124; `string` &#124; `Uint8Array` &#124; `Array`<`number`>*): [AccountId](_accountid_.accountid.md) &#124; [AccountIndex](_accountindex_.accountindex.md)
*Inherited from [Address](_address_.address.md).[decode](_address_.address.md#decode)*
*Defined in [Address.ts:28](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/Address.ts#L28)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| value | [AccountId](_accountid_.accountid.md) &#124; [AccountIndex](_accountindex_.accountindex.md) &#124; `string` &#124; `Uint8Array` &#124; `Array`<`number`>|
**Returns:** [AccountId](_accountid_.accountid.md) &#124; [AccountIndex](_accountindex_.accountindex.md)
___
<a id="readlength"></a>
## `<Static>` readLength
▸ **readLength**(input: *`Uint8Array`*): `number`
*Inherited from [Address](_address_.address.md).[readLength](_address_.address.md#readlength)*
*Defined in [Address.ts:52](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/Address.ts#L52)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| input | `Uint8Array` |
**Returns:** `number`
___
<a id="writelength"></a>
## `<Static>` writeLength
▸ **writeLength**(length: *`number`*): `Uint8Array`
*Inherited from [Address](_address_.address.md).[writeLength](_address_.address.md#writelength)*
*Defined in [Address.ts:70](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/Address.ts#L70)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| length | `number` |
**Returns:** `Uint8Array`
___
@@ -0,0 +1,399 @@
# Hierarchy
↳ [U32](_u32_.u32.md)
**↳ ReferendumIndex**
# Constructors
<a id="constructor"></a>
## constructor
⊕ **new ReferendumIndex**(value?: *[AnyNumber](../modules/_types_d_.md#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/48e57f9/packages/types/src/U32.ts#L9)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| `Optional` value | [AnyNumber](../modules/_types_d_.md#anynumber) |
**Returns:** [ReferendumIndex](_referendumindex_.referendumindex.md)
___
# Properties
<a id="raw"></a>
## raw
**● raw**: *`BN`*
*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/48e57f9/packages/types/src/codec/Base.ts#L19)*
___
# Methods
<a id="add"></a>
## add
▸ **add**(other: * [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`*): `BN`
*Inherited from [UInt](_codec_uint_.uint.md).[add](_codec_uint_.uint.md#add)*
*Defined in [codec/UInt.ts:95](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L95)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| other | [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`|
**Returns:** `BN`
___
<a id="bytelength"></a>
## byteLength
▸ **byteLength**(): `number`
*Inherited from [UInt](_codec_uint_.uint.md).[byteLength](_codec_uint_.uint.md#bytelength)*
*Overrides [Base](_codec_base_.base.md).[byteLength](_codec_base_.base.md#bytelength)*
*Defined in [codec/UInt.ts:53](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L53)*
**Returns:** `number`
___
<a id="cmp"></a>
## cmp
▸ **cmp**(other: * [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`*): `number`
*Inherited from [UInt](_codec_uint_.uint.md).[cmp](_codec_uint_.uint.md#cmp)*
*Defined in [codec/UInt.ts:101](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L101)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| other | [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`|
**Returns:** `number`
___
<a id="div"></a>
## div
▸ **div**(other: * [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`*): `BN`
*Inherited from [UInt](_codec_uint_.uint.md).[div](_codec_uint_.uint.md#div)*
*Defined in [codec/UInt.ts:107](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L107)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| other | [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`|
**Returns:** `BN`
___
<a id="fromjson"></a>
## fromJSON
▸ **fromJSON**(input: *`any`*): [UInt](_codec_uint_.uint.md)
*Inherited from [UInt](_codec_uint_.uint.md).[fromJSON](_codec_uint_.uint.md#fromjson)*
*Overrides [Base](_codec_base_.base.md).[fromJSON](_codec_base_.base.md#fromjson)*
*Defined in [codec/UInt.ts:57](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L57)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| input | `any` |
**Returns:** [UInt](_codec_uint_.uint.md)
___
<a id="fromu8a"></a>
## fromU8a
▸ **fromU8a**(input: *`Uint8Array`*): [UInt](_codec_uint_.uint.md)
*Inherited from [UInt](_codec_uint_.uint.md).[fromU8a](_codec_uint_.uint.md#fromu8a)*
*Overrides [Base](_codec_base_.base.md).[fromU8a](_codec_base_.base.md#fromu8a)*
*Defined in [codec/UInt.ts:63](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L63)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| input | `Uint8Array` |
**Returns:** [UInt](_codec_uint_.uint.md)
___
<a id="gt"></a>
## gt
▸ **gt**(test: * [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`*): `boolean`
*Inherited from [UInt](_codec_uint_.uint.md).[gt](_codec_uint_.uint.md#gt)*
*Defined in [codec/UInt.ts:129](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L129)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| test | [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`|
**Returns:** `boolean`
___
<a id="gte"></a>
## gte
▸ **gte**(test: * [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`*): `boolean`
*Inherited from [UInt](_codec_uint_.uint.md).[gte](_codec_uint_.uint.md#gte)*
*Defined in [codec/UInt.ts:135](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L135)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| test | [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`|
**Returns:** `boolean`
___
<a id="iszero"></a>
## isZero
▸ **isZero**(): `boolean`
*Inherited from [UInt](_codec_uint_.uint.md).[isZero](_codec_uint_.uint.md#iszero)*
*Defined in [codec/UInt.ts:113](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L113)*
**Returns:** `boolean`
___
<a id="lt"></a>
## lt
▸ **lt**(test: * [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`*): `boolean`
*Inherited from [UInt](_codec_uint_.uint.md).[lt](_codec_uint_.uint.md#lt)*
*Defined in [codec/UInt.ts:117](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L117)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| test | [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`|
**Returns:** `boolean`
___
<a id="lte"></a>
## lte
▸ **lte**(test: * [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`*): `boolean`
*Inherited from [UInt](_codec_uint_.uint.md).[lte](_codec_uint_.uint.md#lte)*
*Defined in [codec/UInt.ts:123](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L123)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| test | [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`|
**Returns:** `boolean`
___
<a id="mul"></a>
## mul
▸ **mul**(other: * [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`*): `BN`
*Inherited from [UInt](_codec_uint_.uint.md).[mul](_codec_uint_.uint.md#mul)*
*Defined in [codec/UInt.ts:141](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L141)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| other | [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`|
**Returns:** `BN`
___
<a id="sub"></a>
## sub
▸ **sub**(other: * [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`*): `BN`
*Inherited from [UInt](_codec_uint_.uint.md).[sub](_codec_uint_.uint.md#sub)*
*Defined in [codec/UInt.ts:147](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L147)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| other | [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`|
**Returns:** `BN`
___
<a id="tobn"></a>
## toBn
▸ **toBn**(): `BN`
*Inherited from [UInt](_codec_uint_.uint.md).[toBn](_codec_uint_.uint.md#tobn)*
*Defined in [codec/UInt.ts:85](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L85)*
**Returns:** `BN`
___
<a id="tohex"></a>
## toHex
▸ **toHex**(): `string`
*Inherited from [UInt](_codec_uint_.uint.md).[toHex](_codec_uint_.uint.md#tohex)*
*Defined in [codec/UInt.ts:69](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L69)*
**Returns:** `string`
___
<a id="tojson"></a>
## toJSON
▸ **toJSON**(): `any`
*Inherited from [UInt](_codec_uint_.uint.md).[toJSON](_codec_uint_.uint.md#tojson)*
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
*Defined in [codec/UInt.ts:73](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L73)*
**Returns:** `any`
___
<a id="tonumber"></a>
## toNumber
▸ **toNumber**(): `number`
*Inherited from [UInt](_codec_uint_.uint.md).[toNumber](_codec_uint_.uint.md#tonumber)*
*Defined in [codec/UInt.ts:89](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L89)*
**Returns:** `number`
___
<a id="tostring"></a>
## toString
▸ **toString**(): `string`
*Inherited from [UInt](_codec_uint_.uint.md).[toString](_codec_uint_.uint.md#tostring)*
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
*Defined in [codec/UInt.ts:81](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L81)*
**Returns:** `string`
___
<a id="tou8a"></a>
## toU8a
▸ **toU8a**(isBare?: * `undefined` &#124; `false` &#124; `true`*): `Uint8Array`
*Inherited from [UInt](_codec_uint_.uint.md).[toU8a](_codec_uint_.uint.md#tou8a)*
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
*Defined in [codec/UInt.ts:77](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L77)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| `Optional` isBare | `undefined` &#124; `false` &#124; `true`|
**Returns:** `Uint8Array`
___
<a id="decode"></a>
## `<Static>` decode
▸ **decode**(value: *[AnyNumber](../modules/_types_d_.md#anynumber)*): `BN`
*Inherited from [UInt](_codec_uint_.uint.md).[decode](_codec_uint_.uint.md#decode)*
*Defined in [codec/UInt.ts:38](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L38)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| value | [AnyNumber](../modules/_types_d_.md#anynumber) |
**Returns:** `BN`
___
@@ -0,0 +1,357 @@
# Type parameters
#### S
#### T
#### V
#### E
# Hierarchy
↳ [Struct](_codec_struct_.struct.md)
**↳ RuntimeVersion**
# Constructors
<a id="constructor"></a>
## constructor
⊕ **new RuntimeVersion**(value?: *`RuntimeVersionValue`*): [RuntimeVersion](_runtimeversion_.runtimeversion.md)
*Overrides [Struct](_codec_struct_.struct.md).[constructor](_codec_struct_.struct.md#constructor)*
*Defined in [RuntimeVersion.ts:51](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/RuntimeVersion.ts#L51)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| `Optional` value | `RuntimeVersionValue` |
**Returns:** [RuntimeVersion](_runtimeversion_.runtimeversion.md)
___
# 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:27](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L27)*
___
<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:26](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L26)*
___
<a id="raw"></a>
## raw
**● raw**: *`T`*
*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/48e57f9/packages/types/src/codec/Base.ts#L19)*
___
# Accessors
<a id="type"></a>
## Type
getType(): `E`
*Inherited from [Struct](_codec_struct_.struct.md).[Type](_codec_struct_.struct.md#type)*
*Defined in [codec/Struct.ts:76](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L76)*
**Returns:** `E`
___
<a id="apis"></a>
## apis
getapis(): [Vector](_codec_vector_.vector.md)<`RuntimeVersionApi`>
*Defined in [RuntimeVersion.ts:69](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/RuntimeVersion.ts#L69)*
**Returns:** [Vector](_codec_vector_.vector.md)<`RuntimeVersionApi`>
___
<a id="authoringversion"></a>
## authoringVersion
getauthoringVersion(): [U32](_u32_.u32.md)
*Defined in [RuntimeVersion.ts:73](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/RuntimeVersion.ts#L73)*
**Returns:** [U32](_u32_.u32.md)
___
<a id="implname"></a>
## implName
getimplName(): [Text](_text_.text.md)
*Defined in [RuntimeVersion.ts:77](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/RuntimeVersion.ts#L77)*
**Returns:** [Text](_text_.text.md)
___
<a id="implversion"></a>
## implVersion
getimplVersion(): [U32](_u32_.u32.md)
*Defined in [RuntimeVersion.ts:81](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/RuntimeVersion.ts#L81)*
**Returns:** [U32](_u32_.u32.md)
___
<a id="specname"></a>
## specName
getspecName(): [Text](_text_.text.md)
*Defined in [RuntimeVersion.ts:85](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/RuntimeVersion.ts#L85)*
**Returns:** [Text](_text_.text.md)
___
<a id="specversion"></a>
## specVersion
getspecVersion(): [U32](_u32_.u32.md)
*Defined in [RuntimeVersion.ts:89](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/RuntimeVersion.ts#L89)*
**Returns:** [U32](_u32_.u32.md)
___
# Methods
<a id="bytelength"></a>
## byteLength
▸ **byteLength**(): `number`
*Inherited from [Struct](_codec_struct_.struct.md).[byteLength](_codec_struct_.struct.md#bytelength)*
*Overrides [Base](_codec_base_.base.md).[byteLength](_codec_base_.base.md#bytelength)*
*Defined in [codec/Struct.ts:80](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L80)*
**Returns:** `number`
___
<a id="fromjson"></a>
## fromJSON
▸ **fromJSON**(input: *`any`*): [Struct](_codec_struct_.struct.md)<`S`, `T`, `V`, `E`>
*Inherited from [Struct](_codec_struct_.struct.md).[fromJSON](_codec_struct_.struct.md#fromjson)*
*Overrides [Base](_codec_base_.base.md).[fromJSON](_codec_base_.base.md#fromjson)*
*Defined in [codec/Struct.ts:86](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L86)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| input | `any` |
**Returns:** [Struct](_codec_struct_.struct.md)<`S`, `T`, `V`, `E`>
___
<a id="fromu8a"></a>
## fromU8a
▸ **fromU8a**(input: *`Uint8Array`*): [Struct](_codec_struct_.struct.md)<`S`, `T`, `V`, `E`>
*Inherited from [Struct](_codec_struct_.struct.md).[fromU8a](_codec_struct_.struct.md#fromu8a)*
*Overrides [Base](_codec_base_.base.md).[fromU8a](_codec_base_.base.md#fromu8a)*
*Defined in [codec/Struct.ts:101](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L101)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| input | `Uint8Array` |
**Returns:** [Struct](_codec_struct_.struct.md)<`S`, `T`, `V`, `E`>
___
<a id="get"></a>
## get
▸ **get**(index: *`number`*): [Base](_codec_base_.base.md)
*Inherited from [Struct](_codec_struct_.struct.md).[get](_codec_struct_.struct.md#get)*
*Defined in [codec/Struct.ts:111](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L111)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| index | `number` |
**Returns:** [Base](_codec_base_.base.md)
___
<a id="keys"></a>
## keys
▸ **keys**(): `Array`<`string`>
*Inherited from [Struct](_codec_struct_.struct.md).[keys](_codec_struct_.struct.md#keys)*
*Defined in [codec/Struct.ts:126](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L126)*
**Returns:** `Array`<`string`>
___
<a id="tojson"></a>
## toJSON
▸ **toJSON**(): `any`
*Inherited from [Struct](_codec_struct_.struct.md).[toJSON](_codec_struct_.struct.md#tojson)*
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
*Defined in [codec/Struct.ts:115](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L115)*
**Returns:** `any`
___
<a id="tostring"></a>
## toString
▸ **toString**(): `string`
*Inherited from [Struct](_codec_struct_.struct.md).[toString](_codec_struct_.struct.md#tostring)*
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
*Defined in [codec/Struct.ts:138](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L138)*
**Returns:** `string`
___
<a id="tou8a"></a>
## toU8a
▸ **toU8a**(isBare?: * `undefined` &#124; `false` &#124; `true`*): `Uint8Array`
*Inherited from [Struct](_codec_struct_.struct.md).[toU8a](_codec_struct_.struct.md#tou8a)*
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
*Defined in [codec/Struct.ts:130](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L130)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| `Optional` isBare | `undefined` &#124; `false` &#124; `true`|
**Returns:** `Uint8Array`
___
<a id="values"></a>
## values
▸ **values**(): `Array`<[Base](_codec_base_.base.md)>
*Inherited from [Struct](_codec_struct_.struct.md).[values](_codec_struct_.struct.md#values)*
*Defined in [codec/Struct.ts:147](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L147)*
**Returns:** `Array`<[Base](_codec_base_.base.md)>
___
<a id="decode"></a>
## `<Static>` decode
▸ **decode**<`S`,`V`,`T`>(Types: *`S`*, value: * `V` &#124; `Array`<`any`>*, isTuple: *`boolean`*): `T`
*Inherited from [Struct](_codec_struct_.struct.md).[decode](_codec_struct_.struct.md#decode)*
*Defined in [codec/Struct.ts:45](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L45)*
**Type parameters:**
#### S
#### V
#### T
**Parameters:**
| Param | Type |
| ------ | ------ |
| Types | `S` |
| value | `V` &#124; `Array`<`any`>|
| isTuple | `boolean` |
**Returns:** `T`
___
<a id="with"></a>
## `<Static>` with
▸ **with**<`S`>(Types: *`S`*): `object`
*Inherited from [Struct](_codec_struct_.struct.md).[with](_codec_struct_.struct.md#with)*
*Defined in [codec/Struct.ts:66](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L66)*
**Type parameters:**
#### S
**Parameters:**
| Param | Type |
| ------ | ------ |
| Types | `S` |
**Returns:** `object`
___
+197
View File
@@ -0,0 +1,197 @@
# Hierarchy
↳ [H512](_h512_.h512.md)
**↳ Signature**
# Constructors
<a id="constructor"></a>
## constructor
⊕ **new Signature**(value?: *[AnyU8a](../modules/_types_d_.md#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/48e57f9/packages/types/src/H512.ts#L10)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| `Optional` value | [AnyU8a](../modules/_types_d_.md#anyu8a) |
**Returns:** [Signature](_signature_.signature.md)
___
# 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/48e57f9/packages/types/src/codec/U8aFixed.ts#L14)*
___
<a id="raw"></a>
## raw
**● raw**: *`Uint8Array`*
*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/48e57f9/packages/types/src/codec/Base.ts#L19)*
___
# Accessors
<a id="length"></a>
## length
getlength(): `number`
*Inherited from [U8a](_codec_u8a_.u8a.md).[length](_codec_u8a_.u8a.md#length)*
*Defined in [codec/U8a.ts:25](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/U8a.ts#L25)*
**Returns:** `number`
___
# Methods
<a id="bytelength"></a>
## byteLength
▸ **byteLength**(): `number`
*Inherited from [U8aFixed](_codec_u8afixed_.u8afixed.md).[byteLength](_codec_u8afixed_.u8afixed.md#bytelength)*
*Overrides [U8a](_codec_u8a_.u8a.md).[byteLength](_codec_u8a_.u8a.md#bytelength)*
*Defined in [codec/U8aFixed.ts:28](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/U8aFixed.ts#L28)*
**Returns:** `number`
___
<a id="fromjson"></a>
## fromJSON
▸ **fromJSON**(input: *`any`*): [U8aFixed](_codec_u8afixed_.u8afixed.md)
*Inherited from [U8aFixed](_codec_u8afixed_.u8afixed.md).[fromJSON](_codec_u8afixed_.u8afixed.md#fromjson)*
*Overrides [U8a](_codec_u8a_.u8a.md).[fromJSON](_codec_u8a_.u8a.md#fromjson)*
*Defined in [codec/U8aFixed.ts:32](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/U8aFixed.ts#L32)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| input | `any` |
**Returns:** [U8aFixed](_codec_u8afixed_.u8afixed.md)
___
<a id="fromu8a"></a>
## fromU8a
▸ **fromU8a**(input: *`Uint8Array`*): [U8aFixed](_codec_u8afixed_.u8afixed.md)
*Inherited from [U8aFixed](_codec_u8afixed_.u8afixed.md).[fromU8a](_codec_u8afixed_.u8afixed.md#fromu8a)*
*Overrides [U8a](_codec_u8a_.u8a.md).[fromU8a](_codec_u8a_.u8a.md#fromu8a)*
*Defined in [codec/U8aFixed.ts:40](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/U8aFixed.ts#L40)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| input | `Uint8Array` |
**Returns:** [U8aFixed](_codec_u8afixed_.u8afixed.md)
___
<a id="tohex"></a>
## toHex
▸ **toHex**(): `string`
*Inherited from [U8a](_codec_u8a_.u8a.md).[toHex](_codec_u8a_.u8a.md#tohex)*
*Defined in [codec/U8a.ts:45](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/U8a.ts#L45)*
**Returns:** `string`
___
<a id="tojson"></a>
## toJSON
▸ **toJSON**(): `any`
*Inherited from [U8a](_codec_u8a_.u8a.md).[toJSON](_codec_u8a_.u8a.md#tojson)*
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
*Defined in [codec/U8a.ts:49](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/U8a.ts#L49)*
**Returns:** `any`
___
<a id="tostring"></a>
## toString
▸ **toString**(): `string`
*Inherited from [U8a](_codec_u8a_.u8a.md).[toString](_codec_u8a_.u8a.md#tostring)*
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
*Defined in [codec/U8a.ts:57](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/U8a.ts#L57)*
**Returns:** `string`
___
<a id="tou8a"></a>
## toU8a
▸ **toU8a**(isBare?: * `undefined` &#124; `false` &#124; `true`*): `Uint8Array`
*Inherited from [U8a](_codec_u8a_.u8a.md).[toU8a](_codec_u8a_.u8a.md#tou8a)*
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
*Defined in [codec/U8a.ts:53](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/U8a.ts#L53)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| `Optional` isBare | `undefined` &#124; `false` &#124; `true`|
**Returns:** `Uint8Array`
___
@@ -0,0 +1,313 @@
# Type parameters
#### S
#### T
#### V
#### E
# Hierarchy
↳ [Struct](_codec_struct_.struct.md)
**↳ SignedBlock**
# Constructors
<a id="constructor"></a>
## constructor
⊕ **new SignedBlock**(value?: *`SignedBlockValue`*): [SignedBlock](_signedblock_.signedblock.md)
*Overrides [Struct](_codec_struct_.struct.md).[constructor](_codec_struct_.struct.md#constructor)*
*Defined in [SignedBlock.ts:14](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/SignedBlock.ts#L14)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| `Optional` value | `SignedBlockValue` |
**Returns:** [SignedBlock](_signedblock_.signedblock.md)
___
# 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:27](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L27)*
___
<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:26](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L26)*
___
<a id="raw"></a>
## raw
**● raw**: *`T`*
*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/48e57f9/packages/types/src/codec/Base.ts#L19)*
___
# Accessors
<a id="type"></a>
## Type
getType(): `E`
*Inherited from [Struct](_codec_struct_.struct.md).[Type](_codec_struct_.struct.md#type)*
*Defined in [codec/Struct.ts:76](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L76)*
**Returns:** `E`
___
<a id="block"></a>
## block
getblock(): [Block](_block_.block.md)
*Defined in [SignedBlock.ts:22](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/SignedBlock.ts#L22)*
**Returns:** [Block](_block_.block.md)
___
<a id="justification"></a>
## justification
getjustification(): [Justification](_bft_.justification.md)
*Defined in [SignedBlock.ts:26](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/SignedBlock.ts#L26)*
**Returns:** [Justification](_bft_.justification.md)
___
# Methods
<a id="bytelength"></a>
## byteLength
▸ **byteLength**(): `number`
*Inherited from [Struct](_codec_struct_.struct.md).[byteLength](_codec_struct_.struct.md#bytelength)*
*Overrides [Base](_codec_base_.base.md).[byteLength](_codec_base_.base.md#bytelength)*
*Defined in [codec/Struct.ts:80](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L80)*
**Returns:** `number`
___
<a id="fromjson"></a>
## fromJSON
▸ **fromJSON**(input: *`any`*): [Struct](_codec_struct_.struct.md)<`S`, `T`, `V`, `E`>
*Inherited from [Struct](_codec_struct_.struct.md).[fromJSON](_codec_struct_.struct.md#fromjson)*
*Overrides [Base](_codec_base_.base.md).[fromJSON](_codec_base_.base.md#fromjson)*
*Defined in [codec/Struct.ts:86](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L86)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| input | `any` |
**Returns:** [Struct](_codec_struct_.struct.md)<`S`, `T`, `V`, `E`>
___
<a id="fromu8a"></a>
## fromU8a
▸ **fromU8a**(input: *`Uint8Array`*): [Struct](_codec_struct_.struct.md)<`S`, `T`, `V`, `E`>
*Inherited from [Struct](_codec_struct_.struct.md).[fromU8a](_codec_struct_.struct.md#fromu8a)*
*Overrides [Base](_codec_base_.base.md).[fromU8a](_codec_base_.base.md#fromu8a)*
*Defined in [codec/Struct.ts:101](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L101)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| input | `Uint8Array` |
**Returns:** [Struct](_codec_struct_.struct.md)<`S`, `T`, `V`, `E`>
___
<a id="get"></a>
## get
▸ **get**(index: *`number`*): [Base](_codec_base_.base.md)
*Inherited from [Struct](_codec_struct_.struct.md).[get](_codec_struct_.struct.md#get)*
*Defined in [codec/Struct.ts:111](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L111)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| index | `number` |
**Returns:** [Base](_codec_base_.base.md)
___
<a id="keys"></a>
## keys
▸ **keys**(): `Array`<`string`>
*Inherited from [Struct](_codec_struct_.struct.md).[keys](_codec_struct_.struct.md#keys)*
*Defined in [codec/Struct.ts:126](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L126)*
**Returns:** `Array`<`string`>
___
<a id="tojson"></a>
## toJSON
▸ **toJSON**(): `any`
*Inherited from [Struct](_codec_struct_.struct.md).[toJSON](_codec_struct_.struct.md#tojson)*
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
*Defined in [codec/Struct.ts:115](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L115)*
**Returns:** `any`
___
<a id="tostring"></a>
## toString
▸ **toString**(): `string`
*Inherited from [Struct](_codec_struct_.struct.md).[toString](_codec_struct_.struct.md#tostring)*
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
*Defined in [codec/Struct.ts:138](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L138)*
**Returns:** `string`
___
<a id="tou8a"></a>
## toU8a
▸ **toU8a**(isBare?: * `undefined` &#124; `false` &#124; `true`*): `Uint8Array`
*Inherited from [Struct](_codec_struct_.struct.md).[toU8a](_codec_struct_.struct.md#tou8a)*
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
*Defined in [codec/Struct.ts:130](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L130)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| `Optional` isBare | `undefined` &#124; `false` &#124; `true`|
**Returns:** `Uint8Array`
___
<a id="values"></a>
## values
▸ **values**(): `Array`<[Base](_codec_base_.base.md)>
*Inherited from [Struct](_codec_struct_.struct.md).[values](_codec_struct_.struct.md#values)*
*Defined in [codec/Struct.ts:147](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L147)*
**Returns:** `Array`<[Base](_codec_base_.base.md)>
___
<a id="decode"></a>
## `<Static>` decode
▸ **decode**<`S`,`V`,`T`>(Types: *`S`*, value: * `V` &#124; `Array`<`any`>*, isTuple: *`boolean`*): `T`
*Inherited from [Struct](_codec_struct_.struct.md).[decode](_codec_struct_.struct.md#decode)*
*Defined in [codec/Struct.ts:45](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L45)*
**Type parameters:**
#### S
#### V
#### T
**Parameters:**
| Param | Type |
| ------ | ------ |
| Types | `S` |
| value | `V` &#124; `Array`<`any`>|
| isTuple | `boolean` |
**Returns:** `T`
___
<a id="with"></a>
## `<Static>` with
▸ **with**<`S`>(Types: *`S`*): `object`
*Inherited from [Struct](_codec_struct_.struct.md).[with](_codec_struct_.struct.md#with)*
*Defined in [codec/Struct.ts:66](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L66)*
**Type parameters:**
#### S
**Parameters:**
| Param | Type |
| ------ | ------ |
| Types | `S` |
**Returns:** `object`
___
@@ -0,0 +1,313 @@
# Type parameters
#### S
#### T
#### V
#### E
# Hierarchy
↳ [Struct](_codec_struct_.struct.md)
**↳ StorageChangeSet**
# Constructors
<a id="constructor"></a>
## constructor
⊕ **new StorageChangeSet**(value?: *`StorageChangeSetValue`*): [StorageChangeSet](_storagechangeset_.storagechangeset.md)
*Overrides [Struct](_codec_struct_.struct.md).[constructor](_codec_struct_.struct.md#constructor)*
*Defined in [StorageChangeSet.ts:19](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/StorageChangeSet.ts#L19)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| `Optional` value | `StorageChangeSetValue` |
**Returns:** [StorageChangeSet](_storagechangeset_.storagechangeset.md)
___
# 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:27](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L27)*
___
<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:26](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L26)*
___
<a id="raw"></a>
## raw
**● raw**: *`T`*
*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/48e57f9/packages/types/src/codec/Base.ts#L19)*
___
# Accessors
<a id="type"></a>
## Type
getType(): `E`
*Inherited from [Struct](_codec_struct_.struct.md).[Type](_codec_struct_.struct.md#type)*
*Defined in [codec/Struct.ts:76](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L76)*
**Returns:** `E`
___
<a id="changes"></a>
## changes
getchanges(): [Vector](_codec_vector_.vector.md)<[KeyValueOption](_keyvalue_.keyvalueoption.md)>
*Defined in [StorageChangeSet.ts:27](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/StorageChangeSet.ts#L27)*
**Returns:** [Vector](_codec_vector_.vector.md)<[KeyValueOption](_keyvalue_.keyvalueoption.md)>
___
<a id="hash"></a>
## hash
gethash(): [Hash](_hash_.hash.md)
*Defined in [StorageChangeSet.ts:31](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/StorageChangeSet.ts#L31)*
**Returns:** [Hash](_hash_.hash.md)
___
# Methods
<a id="bytelength"></a>
## byteLength
▸ **byteLength**(): `number`
*Inherited from [Struct](_codec_struct_.struct.md).[byteLength](_codec_struct_.struct.md#bytelength)*
*Overrides [Base](_codec_base_.base.md).[byteLength](_codec_base_.base.md#bytelength)*
*Defined in [codec/Struct.ts:80](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L80)*
**Returns:** `number`
___
<a id="fromjson"></a>
## fromJSON
▸ **fromJSON**(input: *`any`*): [Struct](_codec_struct_.struct.md)<`S`, `T`, `V`, `E`>
*Inherited from [Struct](_codec_struct_.struct.md).[fromJSON](_codec_struct_.struct.md#fromjson)*
*Overrides [Base](_codec_base_.base.md).[fromJSON](_codec_base_.base.md#fromjson)*
*Defined in [codec/Struct.ts:86](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L86)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| input | `any` |
**Returns:** [Struct](_codec_struct_.struct.md)<`S`, `T`, `V`, `E`>
___
<a id="fromu8a"></a>
## fromU8a
▸ **fromU8a**(input: *`Uint8Array`*): [Struct](_codec_struct_.struct.md)<`S`, `T`, `V`, `E`>
*Inherited from [Struct](_codec_struct_.struct.md).[fromU8a](_codec_struct_.struct.md#fromu8a)*
*Overrides [Base](_codec_base_.base.md).[fromU8a](_codec_base_.base.md#fromu8a)*
*Defined in [codec/Struct.ts:101](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L101)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| input | `Uint8Array` |
**Returns:** [Struct](_codec_struct_.struct.md)<`S`, `T`, `V`, `E`>
___
<a id="get"></a>
## get
▸ **get**(index: *`number`*): [Base](_codec_base_.base.md)
*Inherited from [Struct](_codec_struct_.struct.md).[get](_codec_struct_.struct.md#get)*
*Defined in [codec/Struct.ts:111](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L111)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| index | `number` |
**Returns:** [Base](_codec_base_.base.md)
___
<a id="keys"></a>
## keys
▸ **keys**(): `Array`<`string`>
*Inherited from [Struct](_codec_struct_.struct.md).[keys](_codec_struct_.struct.md#keys)*
*Defined in [codec/Struct.ts:126](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L126)*
**Returns:** `Array`<`string`>
___
<a id="tojson"></a>
## toJSON
▸ **toJSON**(): `any`
*Inherited from [Struct](_codec_struct_.struct.md).[toJSON](_codec_struct_.struct.md#tojson)*
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
*Defined in [codec/Struct.ts:115](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L115)*
**Returns:** `any`
___
<a id="tostring"></a>
## toString
▸ **toString**(): `string`
*Inherited from [Struct](_codec_struct_.struct.md).[toString](_codec_struct_.struct.md#tostring)*
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
*Defined in [codec/Struct.ts:138](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L138)*
**Returns:** `string`
___
<a id="tou8a"></a>
## toU8a
▸ **toU8a**(isBare?: * `undefined` &#124; `false` &#124; `true`*): `Uint8Array`
*Inherited from [Struct](_codec_struct_.struct.md).[toU8a](_codec_struct_.struct.md#tou8a)*
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
*Defined in [codec/Struct.ts:130](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L130)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| `Optional` isBare | `undefined` &#124; `false` &#124; `true`|
**Returns:** `Uint8Array`
___
<a id="values"></a>
## values
▸ **values**(): `Array`<[Base](_codec_base_.base.md)>
*Inherited from [Struct](_codec_struct_.struct.md).[values](_codec_struct_.struct.md#values)*
*Defined in [codec/Struct.ts:147](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L147)*
**Returns:** `Array`<[Base](_codec_base_.base.md)>
___
<a id="decode"></a>
## `<Static>` decode
▸ **decode**<`S`,`V`,`T`>(Types: *`S`*, value: * `V` &#124; `Array`<`any`>*, isTuple: *`boolean`*): `T`
*Inherited from [Struct](_codec_struct_.struct.md).[decode](_codec_struct_.struct.md#decode)*
*Defined in [codec/Struct.ts:45](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L45)*
**Type parameters:**
#### S
#### V
#### T
**Parameters:**
| Param | Type |
| ------ | ------ |
| Types | `S` |
| value | `V` &#124; `Array`<`any`>|
| isTuple | `boolean` |
**Returns:** `T`
___
<a id="with"></a>
## `<Static>` with
▸ **with**<`S`>(Types: *`S`*): `object`
*Inherited from [Struct](_codec_struct_.struct.md).[with](_codec_struct_.struct.md#with)*
*Defined in [codec/Struct.ts:66](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L66)*
**Type parameters:**
#### S
**Parameters:**
| Param | Type |
| ------ | ------ |
| Types | `S` |
**Returns:** `object`
___
@@ -0,0 +1,199 @@
# Hierarchy
↳ [Bytes](_bytes_.bytes.md)
**↳ StorageData**
# Constructors
<a id="constructor"></a>
## constructor
⊕ **new StorageData**(value?: *[AnyU8a](../modules/_types_d_.md#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:16](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/Bytes.ts#L16)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| `Optional` value | [AnyU8a](../modules/_types_d_.md#anyu8a) |
**Returns:** [StorageData](_storagedata_.storagedata.md)
___
# Properties
<a id="_length"></a>
## `<Protected>` _length
**● _length**: *[Length](_codec_length_.length.md)*
*Inherited from [Bytes](_bytes_.bytes.md).[_length](_bytes_.bytes.md#_length)*
*Defined in [Bytes.ts:16](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/Bytes.ts#L16)*
___
<a id="raw"></a>
## raw
**● raw**: *`Uint8Array`*
*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/48e57f9/packages/types/src/codec/Base.ts#L19)*
___
# Accessors
<a id="length"></a>
## length
getlength(): `number`
*Inherited from [Bytes](_bytes_.bytes.md).[length](_bytes_.bytes.md#length)*
*Overrides [U8a](_codec_u8a_.u8a.md).[length](_codec_u8a_.u8a.md#length)*
*Defined in [Bytes.ts:24](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/Bytes.ts#L24)*
**Returns:** `number`
___
# Methods
<a id="bytelength"></a>
## byteLength
▸ **byteLength**(): `number`
*Inherited from [Bytes](_bytes_.bytes.md).[byteLength](_bytes_.bytes.md#bytelength)*
*Overrides [U8a](_codec_u8a_.u8a.md).[byteLength](_codec_u8a_.u8a.md#bytelength)*
*Defined in [Bytes.ts:28](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/Bytes.ts#L28)*
**Returns:** `number`
___
<a id="fromjson"></a>
## fromJSON
▸ **fromJSON**(input: *`any`*): [Bytes](_bytes_.bytes.md)
*Inherited from [Bytes](_bytes_.bytes.md).[fromJSON](_bytes_.bytes.md#fromjson)*
*Overrides [U8a](_codec_u8a_.u8a.md).[fromJSON](_codec_u8a_.u8a.md#fromjson)*
*Defined in [Bytes.ts:32](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/Bytes.ts#L32)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| input | `any` |
**Returns:** [Bytes](_bytes_.bytes.md)
___
<a id="fromu8a"></a>
## fromU8a
▸ **fromU8a**(input: *`Uint8Array`*): [Bytes](_bytes_.bytes.md)
*Inherited from [Bytes](_bytes_.bytes.md).[fromU8a](_bytes_.bytes.md#fromu8a)*
*Overrides [U8a](_codec_u8a_.u8a.md).[fromU8a](_codec_u8a_.u8a.md#fromu8a)*
*Defined in [Bytes.ts:40](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/Bytes.ts#L40)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| input | `Uint8Array` |
**Returns:** [Bytes](_bytes_.bytes.md)
___
<a id="tohex"></a>
## toHex
▸ **toHex**(): `string`
*Inherited from [U8a](_codec_u8a_.u8a.md).[toHex](_codec_u8a_.u8a.md#tohex)*
*Defined in [codec/U8a.ts:45](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/U8a.ts#L45)*
**Returns:** `string`
___
<a id="tojson"></a>
## toJSON
▸ **toJSON**(): `any`
*Inherited from [U8a](_codec_u8a_.u8a.md).[toJSON](_codec_u8a_.u8a.md#tojson)*
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
*Defined in [codec/U8a.ts:49](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/U8a.ts#L49)*
**Returns:** `any`
___
<a id="tostring"></a>
## toString
▸ **toString**(): `string`
*Inherited from [U8a](_codec_u8a_.u8a.md).[toString](_codec_u8a_.u8a.md#tostring)*
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
*Defined in [codec/U8a.ts:57](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/U8a.ts#L57)*
**Returns:** `string`
___
<a id="tou8a"></a>
## toU8a
▸ **toU8a**(isBare?: * `undefined` &#124; `false` &#124; `true`*): `Uint8Array`
*Inherited from [Bytes](_bytes_.bytes.md).[toU8a](_bytes_.bytes.md#tou8a)*
*Overrides [U8a](_codec_u8a_.u8a.md).[toU8a](_codec_u8a_.u8a.md#tou8a)*
*Defined in [Bytes.ts:51](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/Bytes.ts#L51)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| `Optional` isBare | `undefined` &#124; `false` &#124; `true`|
**Returns:** `Uint8Array`
___
@@ -0,0 +1,242 @@
# Hierarchy
↳ [Bytes](_bytes_.bytes.md)
**↳ StorageKey**
# Constructors
<a id="constructor"></a>
## constructor
⊕ **new StorageKey**(value: * [AnyU8a](../modules/_types_d_.md#anyu8a) &#124; [StorageKey](_storagekey_.storagekey.md) &#124; [StorageFunction](../interfaces/_storagekey_.storagefunction.md) &#124; [[StorageFunction](../interfaces/_storagekey_.storagefunction.md), `any`]*): [StorageKey](_storagekey_.storagekey.md)
*Overrides [Bytes](_bytes_.bytes.md).[constructor](_bytes_.bytes.md#constructor)*
*Defined in [StorageKey.ts:25](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/StorageKey.ts#L25)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| value | [AnyU8a](../modules/_types_d_.md#anyu8a) &#124; [StorageKey](_storagekey_.storagekey.md) &#124; [StorageFunction](../interfaces/_storagekey_.storagefunction.md) &#124; [[StorageFunction](../interfaces/_storagekey_.storagefunction.md), `any`]|
**Returns:** [StorageKey](_storagekey_.storagekey.md)
___
# Properties
<a id="_length"></a>
## `<Protected>` _length
**● _length**: *[Length](_codec_length_.length.md)*
*Inherited from [Bytes](_bytes_.bytes.md).[_length](_bytes_.bytes.md#_length)*
*Defined in [Bytes.ts:16](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/Bytes.ts#L16)*
___
<a id="raw"></a>
## raw
**● raw**: *`Uint8Array`*
*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/48e57f9/packages/types/src/codec/Base.ts#L19)*
___
# Accessors
<a id="length"></a>
## length
getlength(): `number`
*Inherited from [Bytes](_bytes_.bytes.md).[length](_bytes_.bytes.md#length)*
*Overrides [U8a](_codec_u8a_.u8a.md).[length](_codec_u8a_.u8a.md#length)*
*Defined in [Bytes.ts:24](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/Bytes.ts#L24)*
**Returns:** `number`
___
<a id="outputtype"></a>
## outputType
getoutputType(): `string` &#124; `null`
*Defined in [StorageKey.ts:63](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/StorageKey.ts#L63)*
**Returns:** `string` &#124; `null`
___
# Methods
<a id="bytelength"></a>
## byteLength
▸ **byteLength**(): `number`
*Inherited from [Bytes](_bytes_.bytes.md).[byteLength](_bytes_.bytes.md#bytelength)*
*Overrides [U8a](_codec_u8a_.u8a.md).[byteLength](_codec_u8a_.u8a.md#bytelength)*
*Defined in [Bytes.ts:28](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/Bytes.ts#L28)*
**Returns:** `number`
___
<a id="fromjson"></a>
## fromJSON
▸ **fromJSON**(input: *`any`*): [Bytes](_bytes_.bytes.md)
*Inherited from [Bytes](_bytes_.bytes.md).[fromJSON](_bytes_.bytes.md#fromjson)*
*Overrides [U8a](_codec_u8a_.u8a.md).[fromJSON](_codec_u8a_.u8a.md#fromjson)*
*Defined in [Bytes.ts:32](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/Bytes.ts#L32)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| input | `any` |
**Returns:** [Bytes](_bytes_.bytes.md)
___
<a id="fromu8a"></a>
## fromU8a
▸ **fromU8a**(input: *`Uint8Array`*): [Bytes](_bytes_.bytes.md)
*Inherited from [Bytes](_bytes_.bytes.md).[fromU8a](_bytes_.bytes.md#fromu8a)*
*Overrides [U8a](_codec_u8a_.u8a.md).[fromU8a](_codec_u8a_.u8a.md#fromu8a)*
*Defined in [Bytes.ts:40](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/Bytes.ts#L40)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| input | `Uint8Array` |
**Returns:** [Bytes](_bytes_.bytes.md)
___
<a id="tohex"></a>
## toHex
▸ **toHex**(): `string`
*Inherited from [U8a](_codec_u8a_.u8a.md).[toHex](_codec_u8a_.u8a.md#tohex)*
*Defined in [codec/U8a.ts:45](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/U8a.ts#L45)*
**Returns:** `string`
___
<a id="tojson"></a>
## toJSON
▸ **toJSON**(): `any`
*Inherited from [U8a](_codec_u8a_.u8a.md).[toJSON](_codec_u8a_.u8a.md#tojson)*
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
*Defined in [codec/U8a.ts:49](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/U8a.ts#L49)*
**Returns:** `any`
___
<a id="tostring"></a>
## toString
▸ **toString**(): `string`
*Inherited from [U8a](_codec_u8a_.u8a.md).[toString](_codec_u8a_.u8a.md#tostring)*
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
*Defined in [codec/U8a.ts:57](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/U8a.ts#L57)*
**Returns:** `string`
___
<a id="tou8a"></a>
## toU8a
▸ **toU8a**(isBare?: * `undefined` &#124; `false` &#124; `true`*): `Uint8Array`
*Inherited from [Bytes](_bytes_.bytes.md).[toU8a](_bytes_.bytes.md#tou8a)*
*Overrides [U8a](_codec_u8a_.u8a.md).[toU8a](_codec_u8a_.u8a.md#tou8a)*
*Defined in [Bytes.ts:51](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/Bytes.ts#L51)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| `Optional` isBare | `undefined` &#124; `false` &#124; `true`|
**Returns:** `Uint8Array`
___
<a id="encode"></a>
## `<Static>` encode
▸ **encode**(value: * [AnyU8a](../modules/_types_d_.md#anyu8a) &#124; [StorageKey](_storagekey_.storagekey.md) &#124; [StorageFunction](../interfaces/_storagekey_.storagefunction.md) &#124; [[StorageFunction](../interfaces/_storagekey_.storagefunction.md), `any`]*): `Uint8Array`
*Defined in [StorageKey.ts:33](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/StorageKey.ts#L33)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| value | [AnyU8a](../modules/_types_d_.md#anyu8a) &#124; [StorageKey](_storagekey_.storagekey.md) &#124; [StorageFunction](../interfaces/_storagekey_.storagefunction.md) &#124; [[StorageFunction](../interfaces/_storagekey_.storagefunction.md), `any`]|
**Returns:** `Uint8Array`
___
<a id="gettype"></a>
## `<Static>` getType
▸ **getType**(value: * [StorageKey](_storagekey_.storagekey.md) &#124; [StorageFunction](../interfaces/_storagekey_.storagefunction.md) &#124; [[StorageFunction](../interfaces/_storagekey_.storagefunction.md), `any`]*): `string` &#124; `null`
*Defined in [StorageKey.ts:49](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/StorageKey.ts#L49)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| value | [StorageKey](_storagekey_.storagekey.md) &#124; [StorageFunction](../interfaces/_storagekey_.storagefunction.md) &#124; [[StorageFunction](../interfaces/_storagekey_.storagefunction.md), `any`]|
**Returns:** `string` &#124; `null`
___
+168
View File
@@ -0,0 +1,168 @@
# Hierarchy
[Base](_codec_base_.base.md)<`string`>
**↳ Text**
↳ [Type](_type_.type.md)
# Constructors
<a id="constructor"></a>
## constructor
⊕ **new Text**(value?: * [Text](_text_.text.md) &#124; `string`*): [Text](_text_.text.md)
*Overrides [Base](_codec_base_.base.md).[constructor](_codec_base_.base.md#constructor)*
*Defined in [Text.ts:21](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/Text.ts#L21)*
**Parameters:**
| Param | Type | Default value |
| ------ | ------ | ------ |
| `Default value` value | [Text](_text_.text.md) &#124; `string`| &quot;&quot; |
**Returns:** [Text](_text_.text.md)
___
# Properties
<a id="_length"></a>
## `<Protected>` _length
**● _length**: *[Length](_codec_length_.length.md)*
*Defined in [Text.ts:21](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/Text.ts#L21)*
___
<a id="raw"></a>
## raw
**● raw**: *`string`*
*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/48e57f9/packages/types/src/codec/Base.ts#L19)*
___
# Accessors
<a id="length"></a>
## length
getlength(): `number`
*Defined in [Text.ts:33](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/Text.ts#L33)*
**Returns:** `number`
___
# Methods
<a id="bytelength"></a>
## byteLength
▸ **byteLength**(): `number`
*Overrides [Base](_codec_base_.base.md).[byteLength](_codec_base_.base.md#bytelength)*
*Defined in [Text.ts:37](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/Text.ts#L37)*
**Returns:** `number`
___
<a id="fromjson"></a>
## fromJSON
▸ **fromJSON**(input: *`any`*): [Text](_text_.text.md)
*Overrides [Base](_codec_base_.base.md).[fromJSON](_codec_base_.base.md#fromjson)*
*Defined in [Text.ts:44](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/Text.ts#L44)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| input | `any` |
**Returns:** [Text](_text_.text.md)
___
<a id="fromu8a"></a>
## fromU8a
▸ **fromU8a**(input: *`Uint8Array`*): [Text](_text_.text.md)
*Overrides [Base](_codec_base_.base.md).[fromU8a](_codec_base_.base.md#fromu8a)*
*Defined in [Text.ts:50](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/Text.ts#L50)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| input | `Uint8Array` |
**Returns:** [Text](_text_.text.md)
___
<a id="tojson"></a>
## toJSON
▸ **toJSON**(): `any`
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
*Defined in [Text.ts:61](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/Text.ts#L61)*
**Returns:** `any`
___
<a id="tostring"></a>
## toString
▸ **toString**(): `string`
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
*Defined in [Text.ts:65](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/Text.ts#L65)*
**Returns:** `string`
___
<a id="tou8a"></a>
## toU8a
▸ **toU8a**(isBare?: * `undefined` &#124; `false` &#124; `true`*): `Uint8Array`
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
*Defined in [Text.ts:69](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/Text.ts#L69)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| `Optional` isBare | `undefined` &#124; `false` &#124; `true`|
**Returns:** `Uint8Array`
___
+176
View File
@@ -0,0 +1,176 @@
# Hierarchy
↳ [Text](_text_.text.md)
**↳ Type**
# Constructors
<a id="constructor"></a>
## constructor
⊕ **new Type**(value?: * [Text](_text_.text.md) &#124; `string`*): [Type](_type_.type.md)
*Overrides [Text](_text_.text.md).[constructor](_text_.text.md#constructor)*
*Defined in [Type.ts:14](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/Type.ts#L14)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| `Optional` value | [Text](_text_.text.md) &#124; `string`|
**Returns:** [Type](_type_.type.md)
___
# Properties
<a id="_length"></a>
## `<Protected>` _length
**● _length**: *[Length](_codec_length_.length.md)*
*Inherited from [Text](_text_.text.md).[_length](_text_.text.md#_length)*
*Defined in [Text.ts:21](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/Text.ts#L21)*
___
<a id="raw"></a>
## raw
**● raw**: *`string`*
*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/48e57f9/packages/types/src/codec/Base.ts#L19)*
___
# Accessors
<a id="length"></a>
## length
getlength(): `number`
*Inherited from [Text](_text_.text.md).[length](_text_.text.md#length)*
*Defined in [Text.ts:33](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/Text.ts#L33)*
**Returns:** `number`
___
# Methods
<a id="bytelength"></a>
## byteLength
▸ **byteLength**(): `number`
*Inherited from [Text](_text_.text.md).[byteLength](_text_.text.md#bytelength)*
*Overrides [Base](_codec_base_.base.md).[byteLength](_codec_base_.base.md#bytelength)*
*Defined in [Text.ts:37](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/Text.ts#L37)*
**Returns:** `number`
___
<a id="fromjson"></a>
## fromJSON
▸ **fromJSON**(input: *`any`*): [Type](_type_.type.md)
*Overrides [Text](_text_.text.md).[fromJSON](_text_.text.md#fromjson)*
*Defined in [Type.ts:21](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/Type.ts#L21)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| input | `any` |
**Returns:** [Type](_type_.type.md)
___
<a id="fromu8a"></a>
## fromU8a
▸ **fromU8a**(input: *`Uint8Array`*): [Type](_type_.type.md)
*Overrides [Text](_text_.text.md).[fromU8a](_text_.text.md#fromu8a)*
*Defined in [Type.ts:27](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/Type.ts#L27)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| input | `Uint8Array` |
**Returns:** [Type](_type_.type.md)
___
<a id="tojson"></a>
## toJSON
▸ **toJSON**(): `any`
*Inherited from [Text](_text_.text.md).[toJSON](_text_.text.md#tojson)*
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
*Defined in [Text.ts:61](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/Text.ts#L61)*
**Returns:** `any`
___
<a id="tostring"></a>
## toString
▸ **toString**(): `string`
*Inherited from [Text](_text_.text.md).[toString](_text_.text.md#tostring)*
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
*Defined in [Text.ts:65](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/Text.ts#L65)*
**Returns:** `string`
___
<a id="tou8a"></a>
## toU8a
▸ **toU8a**(isBare?: * `undefined` &#124; `false` &#124; `true`*): `Uint8Array`
*Overrides [Text](_text_.text.md).[toU8a](_text_.text.md#tou8a)*
*Defined in [Type.ts:36](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/Type.ts#L36)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| `Optional` isBare | `undefined` &#124; `false` &#124; `true`|
**Returns:** `Uint8Array`
___
+399
View File
@@ -0,0 +1,399 @@
# Hierarchy
↳ [UInt](_codec_uint_.uint.md)
**↳ U128**
↳ [Balance](_balance_.balance.md)
# Constructors
<a id="constructor"></a>
## constructor
⊕ **new U128**(value?: *[AnyNumber](../modules/_types_d_.md#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/48e57f9/packages/types/src/U128.ts#L9)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| `Optional` value | [AnyNumber](../modules/_types_d_.md#anynumber) |
**Returns:** [U128](_u128_.u128.md)
___
# Properties
<a id="raw"></a>
## raw
**● raw**: *`BN`*
*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/48e57f9/packages/types/src/codec/Base.ts#L19)*
___
# Methods
<a id="add"></a>
## add
▸ **add**(other: * [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`*): `BN`
*Inherited from [UInt](_codec_uint_.uint.md).[add](_codec_uint_.uint.md#add)*
*Defined in [codec/UInt.ts:95](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L95)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| other | [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`|
**Returns:** `BN`
___
<a id="bytelength"></a>
## byteLength
▸ **byteLength**(): `number`
*Inherited from [UInt](_codec_uint_.uint.md).[byteLength](_codec_uint_.uint.md#bytelength)*
*Overrides [Base](_codec_base_.base.md).[byteLength](_codec_base_.base.md#bytelength)*
*Defined in [codec/UInt.ts:53](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L53)*
**Returns:** `number`
___
<a id="cmp"></a>
## cmp
▸ **cmp**(other: * [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`*): `number`
*Inherited from [UInt](_codec_uint_.uint.md).[cmp](_codec_uint_.uint.md#cmp)*
*Defined in [codec/UInt.ts:101](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L101)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| other | [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`|
**Returns:** `number`
___
<a id="div"></a>
## div
▸ **div**(other: * [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`*): `BN`
*Inherited from [UInt](_codec_uint_.uint.md).[div](_codec_uint_.uint.md#div)*
*Defined in [codec/UInt.ts:107](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L107)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| other | [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`|
**Returns:** `BN`
___
<a id="fromjson"></a>
## fromJSON
▸ **fromJSON**(input: *`any`*): [UInt](_codec_uint_.uint.md)
*Inherited from [UInt](_codec_uint_.uint.md).[fromJSON](_codec_uint_.uint.md#fromjson)*
*Overrides [Base](_codec_base_.base.md).[fromJSON](_codec_base_.base.md#fromjson)*
*Defined in [codec/UInt.ts:57](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L57)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| input | `any` |
**Returns:** [UInt](_codec_uint_.uint.md)
___
<a id="fromu8a"></a>
## fromU8a
▸ **fromU8a**(input: *`Uint8Array`*): [UInt](_codec_uint_.uint.md)
*Inherited from [UInt](_codec_uint_.uint.md).[fromU8a](_codec_uint_.uint.md#fromu8a)*
*Overrides [Base](_codec_base_.base.md).[fromU8a](_codec_base_.base.md#fromu8a)*
*Defined in [codec/UInt.ts:63](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L63)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| input | `Uint8Array` |
**Returns:** [UInt](_codec_uint_.uint.md)
___
<a id="gt"></a>
## gt
▸ **gt**(test: * [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`*): `boolean`
*Inherited from [UInt](_codec_uint_.uint.md).[gt](_codec_uint_.uint.md#gt)*
*Defined in [codec/UInt.ts:129](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L129)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| test | [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`|
**Returns:** `boolean`
___
<a id="gte"></a>
## gte
▸ **gte**(test: * [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`*): `boolean`
*Inherited from [UInt](_codec_uint_.uint.md).[gte](_codec_uint_.uint.md#gte)*
*Defined in [codec/UInt.ts:135](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L135)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| test | [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`|
**Returns:** `boolean`
___
<a id="iszero"></a>
## isZero
▸ **isZero**(): `boolean`
*Inherited from [UInt](_codec_uint_.uint.md).[isZero](_codec_uint_.uint.md#iszero)*
*Defined in [codec/UInt.ts:113](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L113)*
**Returns:** `boolean`
___
<a id="lt"></a>
## lt
▸ **lt**(test: * [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`*): `boolean`
*Inherited from [UInt](_codec_uint_.uint.md).[lt](_codec_uint_.uint.md#lt)*
*Defined in [codec/UInt.ts:117](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L117)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| test | [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`|
**Returns:** `boolean`
___
<a id="lte"></a>
## lte
▸ **lte**(test: * [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`*): `boolean`
*Inherited from [UInt](_codec_uint_.uint.md).[lte](_codec_uint_.uint.md#lte)*
*Defined in [codec/UInt.ts:123](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L123)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| test | [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`|
**Returns:** `boolean`
___
<a id="mul"></a>
## mul
▸ **mul**(other: * [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`*): `BN`
*Inherited from [UInt](_codec_uint_.uint.md).[mul](_codec_uint_.uint.md#mul)*
*Defined in [codec/UInt.ts:141](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L141)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| other | [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`|
**Returns:** `BN`
___
<a id="sub"></a>
## sub
▸ **sub**(other: * [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`*): `BN`
*Inherited from [UInt](_codec_uint_.uint.md).[sub](_codec_uint_.uint.md#sub)*
*Defined in [codec/UInt.ts:147](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L147)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| other | [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`|
**Returns:** `BN`
___
<a id="tobn"></a>
## toBn
▸ **toBn**(): `BN`
*Inherited from [UInt](_codec_uint_.uint.md).[toBn](_codec_uint_.uint.md#tobn)*
*Defined in [codec/UInt.ts:85](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L85)*
**Returns:** `BN`
___
<a id="tohex"></a>
## toHex
▸ **toHex**(): `string`
*Inherited from [UInt](_codec_uint_.uint.md).[toHex](_codec_uint_.uint.md#tohex)*
*Defined in [codec/UInt.ts:69](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L69)*
**Returns:** `string`
___
<a id="tojson"></a>
## toJSON
▸ **toJSON**(): `any`
*Inherited from [UInt](_codec_uint_.uint.md).[toJSON](_codec_uint_.uint.md#tojson)*
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
*Defined in [codec/UInt.ts:73](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L73)*
**Returns:** `any`
___
<a id="tonumber"></a>
## toNumber
▸ **toNumber**(): `number`
*Inherited from [UInt](_codec_uint_.uint.md).[toNumber](_codec_uint_.uint.md#tonumber)*
*Defined in [codec/UInt.ts:89](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L89)*
**Returns:** `number`
___
<a id="tostring"></a>
## toString
▸ **toString**(): `string`
*Inherited from [UInt](_codec_uint_.uint.md).[toString](_codec_uint_.uint.md#tostring)*
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
*Defined in [codec/UInt.ts:81](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L81)*
**Returns:** `string`
___
<a id="tou8a"></a>
## toU8a
▸ **toU8a**(isBare?: * `undefined` &#124; `false` &#124; `true`*): `Uint8Array`
*Inherited from [UInt](_codec_uint_.uint.md).[toU8a](_codec_uint_.uint.md#tou8a)*
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
*Defined in [codec/UInt.ts:77](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L77)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| `Optional` isBare | `undefined` &#124; `false` &#124; `true`|
**Returns:** `Uint8Array`
___
<a id="decode"></a>
## `<Static>` decode
▸ **decode**(value: *[AnyNumber](../modules/_types_d_.md#anynumber)*): `BN`
*Inherited from [UInt](_codec_uint_.uint.md).[decode](_codec_uint_.uint.md#decode)*
*Defined in [codec/UInt.ts:38](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L38)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| value | [AnyNumber](../modules/_types_d_.md#anynumber) |
**Returns:** `BN`
___
+397
View File
@@ -0,0 +1,397 @@
# Hierarchy
↳ [UInt](_codec_uint_.uint.md)
**↳ U16**
# Constructors
<a id="constructor"></a>
## constructor
⊕ **new U16**(value?: *[AnyNumber](../modules/_types_d_.md#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/48e57f9/packages/types/src/U16.ts#L9)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| `Optional` value | [AnyNumber](../modules/_types_d_.md#anynumber) |
**Returns:** [U16](_u16_.u16.md)
___
# Properties
<a id="raw"></a>
## raw
**● raw**: *`BN`*
*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/48e57f9/packages/types/src/codec/Base.ts#L19)*
___
# Methods
<a id="add"></a>
## add
▸ **add**(other: * [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`*): `BN`
*Inherited from [UInt](_codec_uint_.uint.md).[add](_codec_uint_.uint.md#add)*
*Defined in [codec/UInt.ts:95](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L95)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| other | [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`|
**Returns:** `BN`
___
<a id="bytelength"></a>
## byteLength
▸ **byteLength**(): `number`
*Inherited from [UInt](_codec_uint_.uint.md).[byteLength](_codec_uint_.uint.md#bytelength)*
*Overrides [Base](_codec_base_.base.md).[byteLength](_codec_base_.base.md#bytelength)*
*Defined in [codec/UInt.ts:53](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L53)*
**Returns:** `number`
___
<a id="cmp"></a>
## cmp
▸ **cmp**(other: * [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`*): `number`
*Inherited from [UInt](_codec_uint_.uint.md).[cmp](_codec_uint_.uint.md#cmp)*
*Defined in [codec/UInt.ts:101](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L101)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| other | [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`|
**Returns:** `number`
___
<a id="div"></a>
## div
▸ **div**(other: * [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`*): `BN`
*Inherited from [UInt](_codec_uint_.uint.md).[div](_codec_uint_.uint.md#div)*
*Defined in [codec/UInt.ts:107](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L107)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| other | [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`|
**Returns:** `BN`
___
<a id="fromjson"></a>
## fromJSON
▸ **fromJSON**(input: *`any`*): [UInt](_codec_uint_.uint.md)
*Inherited from [UInt](_codec_uint_.uint.md).[fromJSON](_codec_uint_.uint.md#fromjson)*
*Overrides [Base](_codec_base_.base.md).[fromJSON](_codec_base_.base.md#fromjson)*
*Defined in [codec/UInt.ts:57](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L57)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| input | `any` |
**Returns:** [UInt](_codec_uint_.uint.md)
___
<a id="fromu8a"></a>
## fromU8a
▸ **fromU8a**(input: *`Uint8Array`*): [UInt](_codec_uint_.uint.md)
*Inherited from [UInt](_codec_uint_.uint.md).[fromU8a](_codec_uint_.uint.md#fromu8a)*
*Overrides [Base](_codec_base_.base.md).[fromU8a](_codec_base_.base.md#fromu8a)*
*Defined in [codec/UInt.ts:63](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L63)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| input | `Uint8Array` |
**Returns:** [UInt](_codec_uint_.uint.md)
___
<a id="gt"></a>
## gt
▸ **gt**(test: * [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`*): `boolean`
*Inherited from [UInt](_codec_uint_.uint.md).[gt](_codec_uint_.uint.md#gt)*
*Defined in [codec/UInt.ts:129](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L129)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| test | [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`|
**Returns:** `boolean`
___
<a id="gte"></a>
## gte
▸ **gte**(test: * [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`*): `boolean`
*Inherited from [UInt](_codec_uint_.uint.md).[gte](_codec_uint_.uint.md#gte)*
*Defined in [codec/UInt.ts:135](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L135)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| test | [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`|
**Returns:** `boolean`
___
<a id="iszero"></a>
## isZero
▸ **isZero**(): `boolean`
*Inherited from [UInt](_codec_uint_.uint.md).[isZero](_codec_uint_.uint.md#iszero)*
*Defined in [codec/UInt.ts:113](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L113)*
**Returns:** `boolean`
___
<a id="lt"></a>
## lt
▸ **lt**(test: * [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`*): `boolean`
*Inherited from [UInt](_codec_uint_.uint.md).[lt](_codec_uint_.uint.md#lt)*
*Defined in [codec/UInt.ts:117](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L117)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| test | [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`|
**Returns:** `boolean`
___
<a id="lte"></a>
## lte
▸ **lte**(test: * [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`*): `boolean`
*Inherited from [UInt](_codec_uint_.uint.md).[lte](_codec_uint_.uint.md#lte)*
*Defined in [codec/UInt.ts:123](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L123)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| test | [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`|
**Returns:** `boolean`
___
<a id="mul"></a>
## mul
▸ **mul**(other: * [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`*): `BN`
*Inherited from [UInt](_codec_uint_.uint.md).[mul](_codec_uint_.uint.md#mul)*
*Defined in [codec/UInt.ts:141](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L141)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| other | [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`|
**Returns:** `BN`
___
<a id="sub"></a>
## sub
▸ **sub**(other: * [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`*): `BN`
*Inherited from [UInt](_codec_uint_.uint.md).[sub](_codec_uint_.uint.md#sub)*
*Defined in [codec/UInt.ts:147](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L147)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| other | [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`|
**Returns:** `BN`
___
<a id="tobn"></a>
## toBn
▸ **toBn**(): `BN`
*Inherited from [UInt](_codec_uint_.uint.md).[toBn](_codec_uint_.uint.md#tobn)*
*Defined in [codec/UInt.ts:85](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L85)*
**Returns:** `BN`
___
<a id="tohex"></a>
## toHex
▸ **toHex**(): `string`
*Inherited from [UInt](_codec_uint_.uint.md).[toHex](_codec_uint_.uint.md#tohex)*
*Defined in [codec/UInt.ts:69](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L69)*
**Returns:** `string`
___
<a id="tojson"></a>
## toJSON
▸ **toJSON**(): `any`
*Inherited from [UInt](_codec_uint_.uint.md).[toJSON](_codec_uint_.uint.md#tojson)*
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
*Defined in [codec/UInt.ts:73](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L73)*
**Returns:** `any`
___
<a id="tonumber"></a>
## toNumber
▸ **toNumber**(): `number`
*Inherited from [UInt](_codec_uint_.uint.md).[toNumber](_codec_uint_.uint.md#tonumber)*
*Defined in [codec/UInt.ts:89](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L89)*
**Returns:** `number`
___
<a id="tostring"></a>
## toString
▸ **toString**(): `string`
*Inherited from [UInt](_codec_uint_.uint.md).[toString](_codec_uint_.uint.md#tostring)*
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
*Defined in [codec/UInt.ts:81](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L81)*
**Returns:** `string`
___
<a id="tou8a"></a>
## toU8a
▸ **toU8a**(isBare?: * `undefined` &#124; `false` &#124; `true`*): `Uint8Array`
*Inherited from [UInt](_codec_uint_.uint.md).[toU8a](_codec_uint_.uint.md#tou8a)*
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
*Defined in [codec/UInt.ts:77](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L77)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| `Optional` isBare | `undefined` &#124; `false` &#124; `true`|
**Returns:** `Uint8Array`
___
<a id="decode"></a>
## `<Static>` decode
▸ **decode**(value: *[AnyNumber](../modules/_types_d_.md#anynumber)*): `BN`
*Inherited from [UInt](_codec_uint_.uint.md).[decode](_codec_uint_.uint.md#decode)*
*Defined in [codec/UInt.ts:38](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L38)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| value | [AnyNumber](../modules/_types_d_.md#anynumber) |
**Returns:** `BN`
___
+397
View File
@@ -0,0 +1,397 @@
# Hierarchy
↳ [UInt](_codec_uint_.uint.md)
**↳ U256**
# Constructors
<a id="constructor"></a>
## constructor
⊕ **new U256**(value?: *[AnyNumber](../modules/_types_d_.md#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/48e57f9/packages/types/src/U256.ts#L9)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| `Optional` value | [AnyNumber](../modules/_types_d_.md#anynumber) |
**Returns:** [U256](_u256_.u256.md)
___
# Properties
<a id="raw"></a>
## raw
**● raw**: *`BN`*
*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/48e57f9/packages/types/src/codec/Base.ts#L19)*
___
# Methods
<a id="add"></a>
## add
▸ **add**(other: * [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`*): `BN`
*Inherited from [UInt](_codec_uint_.uint.md).[add](_codec_uint_.uint.md#add)*
*Defined in [codec/UInt.ts:95](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L95)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| other | [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`|
**Returns:** `BN`
___
<a id="bytelength"></a>
## byteLength
▸ **byteLength**(): `number`
*Inherited from [UInt](_codec_uint_.uint.md).[byteLength](_codec_uint_.uint.md#bytelength)*
*Overrides [Base](_codec_base_.base.md).[byteLength](_codec_base_.base.md#bytelength)*
*Defined in [codec/UInt.ts:53](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L53)*
**Returns:** `number`
___
<a id="cmp"></a>
## cmp
▸ **cmp**(other: * [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`*): `number`
*Inherited from [UInt](_codec_uint_.uint.md).[cmp](_codec_uint_.uint.md#cmp)*
*Defined in [codec/UInt.ts:101](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L101)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| other | [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`|
**Returns:** `number`
___
<a id="div"></a>
## div
▸ **div**(other: * [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`*): `BN`
*Inherited from [UInt](_codec_uint_.uint.md).[div](_codec_uint_.uint.md#div)*
*Defined in [codec/UInt.ts:107](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L107)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| other | [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`|
**Returns:** `BN`
___
<a id="fromjson"></a>
## fromJSON
▸ **fromJSON**(input: *`any`*): [UInt](_codec_uint_.uint.md)
*Inherited from [UInt](_codec_uint_.uint.md).[fromJSON](_codec_uint_.uint.md#fromjson)*
*Overrides [Base](_codec_base_.base.md).[fromJSON](_codec_base_.base.md#fromjson)*
*Defined in [codec/UInt.ts:57](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L57)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| input | `any` |
**Returns:** [UInt](_codec_uint_.uint.md)
___
<a id="fromu8a"></a>
## fromU8a
▸ **fromU8a**(input: *`Uint8Array`*): [UInt](_codec_uint_.uint.md)
*Inherited from [UInt](_codec_uint_.uint.md).[fromU8a](_codec_uint_.uint.md#fromu8a)*
*Overrides [Base](_codec_base_.base.md).[fromU8a](_codec_base_.base.md#fromu8a)*
*Defined in [codec/UInt.ts:63](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L63)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| input | `Uint8Array` |
**Returns:** [UInt](_codec_uint_.uint.md)
___
<a id="gt"></a>
## gt
▸ **gt**(test: * [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`*): `boolean`
*Inherited from [UInt](_codec_uint_.uint.md).[gt](_codec_uint_.uint.md#gt)*
*Defined in [codec/UInt.ts:129](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L129)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| test | [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`|
**Returns:** `boolean`
___
<a id="gte"></a>
## gte
▸ **gte**(test: * [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`*): `boolean`
*Inherited from [UInt](_codec_uint_.uint.md).[gte](_codec_uint_.uint.md#gte)*
*Defined in [codec/UInt.ts:135](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L135)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| test | [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`|
**Returns:** `boolean`
___
<a id="iszero"></a>
## isZero
▸ **isZero**(): `boolean`
*Inherited from [UInt](_codec_uint_.uint.md).[isZero](_codec_uint_.uint.md#iszero)*
*Defined in [codec/UInt.ts:113](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L113)*
**Returns:** `boolean`
___
<a id="lt"></a>
## lt
▸ **lt**(test: * [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`*): `boolean`
*Inherited from [UInt](_codec_uint_.uint.md).[lt](_codec_uint_.uint.md#lt)*
*Defined in [codec/UInt.ts:117](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L117)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| test | [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`|
**Returns:** `boolean`
___
<a id="lte"></a>
## lte
▸ **lte**(test: * [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`*): `boolean`
*Inherited from [UInt](_codec_uint_.uint.md).[lte](_codec_uint_.uint.md#lte)*
*Defined in [codec/UInt.ts:123](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L123)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| test | [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`|
**Returns:** `boolean`
___
<a id="mul"></a>
## mul
▸ **mul**(other: * [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`*): `BN`
*Inherited from [UInt](_codec_uint_.uint.md).[mul](_codec_uint_.uint.md#mul)*
*Defined in [codec/UInt.ts:141](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L141)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| other | [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`|
**Returns:** `BN`
___
<a id="sub"></a>
## sub
▸ **sub**(other: * [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`*): `BN`
*Inherited from [UInt](_codec_uint_.uint.md).[sub](_codec_uint_.uint.md#sub)*
*Defined in [codec/UInt.ts:147](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L147)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| other | [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`|
**Returns:** `BN`
___
<a id="tobn"></a>
## toBn
▸ **toBn**(): `BN`
*Inherited from [UInt](_codec_uint_.uint.md).[toBn](_codec_uint_.uint.md#tobn)*
*Defined in [codec/UInt.ts:85](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L85)*
**Returns:** `BN`
___
<a id="tohex"></a>
## toHex
▸ **toHex**(): `string`
*Inherited from [UInt](_codec_uint_.uint.md).[toHex](_codec_uint_.uint.md#tohex)*
*Defined in [codec/UInt.ts:69](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L69)*
**Returns:** `string`
___
<a id="tojson"></a>
## toJSON
▸ **toJSON**(): `any`
*Inherited from [UInt](_codec_uint_.uint.md).[toJSON](_codec_uint_.uint.md#tojson)*
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
*Defined in [codec/UInt.ts:73](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L73)*
**Returns:** `any`
___
<a id="tonumber"></a>
## toNumber
▸ **toNumber**(): `number`
*Inherited from [UInt](_codec_uint_.uint.md).[toNumber](_codec_uint_.uint.md#tonumber)*
*Defined in [codec/UInt.ts:89](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L89)*
**Returns:** `number`
___
<a id="tostring"></a>
## toString
▸ **toString**(): `string`
*Inherited from [UInt](_codec_uint_.uint.md).[toString](_codec_uint_.uint.md#tostring)*
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
*Defined in [codec/UInt.ts:81](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L81)*
**Returns:** `string`
___
<a id="tou8a"></a>
## toU8a
▸ **toU8a**(isBare?: * `undefined` &#124; `false` &#124; `true`*): `Uint8Array`
*Inherited from [UInt](_codec_uint_.uint.md).[toU8a](_codec_uint_.uint.md#tou8a)*
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
*Defined in [codec/UInt.ts:77](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L77)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| `Optional` isBare | `undefined` &#124; `false` &#124; `true`|
**Returns:** `Uint8Array`
___
<a id="decode"></a>
## `<Static>` decode
▸ **decode**(value: *[AnyNumber](../modules/_types_d_.md#anynumber)*): `BN`
*Inherited from [UInt](_codec_uint_.uint.md).[decode](_codec_uint_.uint.md#decode)*
*Defined in [codec/UInt.ts:38](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L38)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| value | [AnyNumber](../modules/_types_d_.md#anynumber) |
**Returns:** `BN`
___
+411
View File
@@ -0,0 +1,411 @@
# Hierarchy
↳ [UInt](_codec_uint_.uint.md)
**↳ U32**
↳ [Index](_nonce_.index.md)
↳ [Permill](_permill_.permill.md)
↳ [Perbill](_perbill_.perbill.md)
↳ [PropIndex](_propindex_.propindex.md)
↳ [ProposalIndex](_proposalindex_.proposalindex.md)
↳ [ReferendumIndex](_referendumindex_.referendumindex.md)
↳ [VoteIndex](_voteindex_.voteindex.md)
# Constructors
<a id="constructor"></a>
## constructor
⊕ **new U32**(value?: *[AnyNumber](../modules/_types_d_.md#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/48e57f9/packages/types/src/U32.ts#L9)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| `Optional` value | [AnyNumber](../modules/_types_d_.md#anynumber) |
**Returns:** [U32](_u32_.u32.md)
___
# Properties
<a id="raw"></a>
## raw
**● raw**: *`BN`*
*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/48e57f9/packages/types/src/codec/Base.ts#L19)*
___
# Methods
<a id="add"></a>
## add
▸ **add**(other: * [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`*): `BN`
*Inherited from [UInt](_codec_uint_.uint.md).[add](_codec_uint_.uint.md#add)*
*Defined in [codec/UInt.ts:95](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L95)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| other | [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`|
**Returns:** `BN`
___
<a id="bytelength"></a>
## byteLength
▸ **byteLength**(): `number`
*Inherited from [UInt](_codec_uint_.uint.md).[byteLength](_codec_uint_.uint.md#bytelength)*
*Overrides [Base](_codec_base_.base.md).[byteLength](_codec_base_.base.md#bytelength)*
*Defined in [codec/UInt.ts:53](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L53)*
**Returns:** `number`
___
<a id="cmp"></a>
## cmp
▸ **cmp**(other: * [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`*): `number`
*Inherited from [UInt](_codec_uint_.uint.md).[cmp](_codec_uint_.uint.md#cmp)*
*Defined in [codec/UInt.ts:101](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L101)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| other | [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`|
**Returns:** `number`
___
<a id="div"></a>
## div
▸ **div**(other: * [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`*): `BN`
*Inherited from [UInt](_codec_uint_.uint.md).[div](_codec_uint_.uint.md#div)*
*Defined in [codec/UInt.ts:107](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L107)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| other | [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`|
**Returns:** `BN`
___
<a id="fromjson"></a>
## fromJSON
▸ **fromJSON**(input: *`any`*): [UInt](_codec_uint_.uint.md)
*Inherited from [UInt](_codec_uint_.uint.md).[fromJSON](_codec_uint_.uint.md#fromjson)*
*Overrides [Base](_codec_base_.base.md).[fromJSON](_codec_base_.base.md#fromjson)*
*Defined in [codec/UInt.ts:57](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L57)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| input | `any` |
**Returns:** [UInt](_codec_uint_.uint.md)
___
<a id="fromu8a"></a>
## fromU8a
▸ **fromU8a**(input: *`Uint8Array`*): [UInt](_codec_uint_.uint.md)
*Inherited from [UInt](_codec_uint_.uint.md).[fromU8a](_codec_uint_.uint.md#fromu8a)*
*Overrides [Base](_codec_base_.base.md).[fromU8a](_codec_base_.base.md#fromu8a)*
*Defined in [codec/UInt.ts:63](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L63)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| input | `Uint8Array` |
**Returns:** [UInt](_codec_uint_.uint.md)
___
<a id="gt"></a>
## gt
▸ **gt**(test: * [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`*): `boolean`
*Inherited from [UInt](_codec_uint_.uint.md).[gt](_codec_uint_.uint.md#gt)*
*Defined in [codec/UInt.ts:129](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L129)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| test | [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`|
**Returns:** `boolean`
___
<a id="gte"></a>
## gte
▸ **gte**(test: * [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`*): `boolean`
*Inherited from [UInt](_codec_uint_.uint.md).[gte](_codec_uint_.uint.md#gte)*
*Defined in [codec/UInt.ts:135](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L135)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| test | [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`|
**Returns:** `boolean`
___
<a id="iszero"></a>
## isZero
▸ **isZero**(): `boolean`
*Inherited from [UInt](_codec_uint_.uint.md).[isZero](_codec_uint_.uint.md#iszero)*
*Defined in [codec/UInt.ts:113](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L113)*
**Returns:** `boolean`
___
<a id="lt"></a>
## lt
▸ **lt**(test: * [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`*): `boolean`
*Inherited from [UInt](_codec_uint_.uint.md).[lt](_codec_uint_.uint.md#lt)*
*Defined in [codec/UInt.ts:117](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L117)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| test | [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`|
**Returns:** `boolean`
___
<a id="lte"></a>
## lte
▸ **lte**(test: * [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`*): `boolean`
*Inherited from [UInt](_codec_uint_.uint.md).[lte](_codec_uint_.uint.md#lte)*
*Defined in [codec/UInt.ts:123](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L123)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| test | [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`|
**Returns:** `boolean`
___
<a id="mul"></a>
## mul
▸ **mul**(other: * [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`*): `BN`
*Inherited from [UInt](_codec_uint_.uint.md).[mul](_codec_uint_.uint.md#mul)*
*Defined in [codec/UInt.ts:141](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L141)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| other | [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`|
**Returns:** `BN`
___
<a id="sub"></a>
## sub
▸ **sub**(other: * [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`*): `BN`
*Inherited from [UInt](_codec_uint_.uint.md).[sub](_codec_uint_.uint.md#sub)*
*Defined in [codec/UInt.ts:147](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L147)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| other | [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`|
**Returns:** `BN`
___
<a id="tobn"></a>
## toBn
▸ **toBn**(): `BN`
*Inherited from [UInt](_codec_uint_.uint.md).[toBn](_codec_uint_.uint.md#tobn)*
*Defined in [codec/UInt.ts:85](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L85)*
**Returns:** `BN`
___
<a id="tohex"></a>
## toHex
▸ **toHex**(): `string`
*Inherited from [UInt](_codec_uint_.uint.md).[toHex](_codec_uint_.uint.md#tohex)*
*Defined in [codec/UInt.ts:69](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L69)*
**Returns:** `string`
___
<a id="tojson"></a>
## toJSON
▸ **toJSON**(): `any`
*Inherited from [UInt](_codec_uint_.uint.md).[toJSON](_codec_uint_.uint.md#tojson)*
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
*Defined in [codec/UInt.ts:73](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L73)*
**Returns:** `any`
___
<a id="tonumber"></a>
## toNumber
▸ **toNumber**(): `number`
*Inherited from [UInt](_codec_uint_.uint.md).[toNumber](_codec_uint_.uint.md#tonumber)*
*Defined in [codec/UInt.ts:89](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L89)*
**Returns:** `number`
___
<a id="tostring"></a>
## toString
▸ **toString**(): `string`
*Inherited from [UInt](_codec_uint_.uint.md).[toString](_codec_uint_.uint.md#tostring)*
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
*Defined in [codec/UInt.ts:81](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L81)*
**Returns:** `string`
___
<a id="tou8a"></a>
## toU8a
▸ **toU8a**(isBare?: * `undefined` &#124; `false` &#124; `true`*): `Uint8Array`
*Inherited from [UInt](_codec_uint_.uint.md).[toU8a](_codec_uint_.uint.md#tou8a)*
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
*Defined in [codec/UInt.ts:77](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L77)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| `Optional` isBare | `undefined` &#124; `false` &#124; `true`|
**Returns:** `Uint8Array`
___
<a id="decode"></a>
## `<Static>` decode
▸ **decode**(value: *[AnyNumber](../modules/_types_d_.md#anynumber)*): `BN`
*Inherited from [UInt](_codec_uint_.uint.md).[decode](_codec_uint_.uint.md#decode)*
*Defined in [codec/UInt.ts:38](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L38)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| value | [AnyNumber](../modules/_types_d_.md#anynumber) |
**Returns:** `BN`
___
+403
View File
@@ -0,0 +1,403 @@
# Hierarchy
↳ [UInt](_codec_uint_.uint.md)
**↳ U64**
↳ [BlockNumber](_blocknumber_.blocknumber.md)
↳ [Gas](_gas_.gas.md)
↳ [ParachainId](_parachainid_.parachainid.md)
# Constructors
<a id="constructor"></a>
## constructor
⊕ **new U64**(value?: *[AnyNumber](../modules/_types_d_.md#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/48e57f9/packages/types/src/U64.ts#L9)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| `Optional` value | [AnyNumber](../modules/_types_d_.md#anynumber) |
**Returns:** [U64](_u64_.u64.md)
___
# Properties
<a id="raw"></a>
## raw
**● raw**: *`BN`*
*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/48e57f9/packages/types/src/codec/Base.ts#L19)*
___
# Methods
<a id="add"></a>
## add
▸ **add**(other: * [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`*): `BN`
*Inherited from [UInt](_codec_uint_.uint.md).[add](_codec_uint_.uint.md#add)*
*Defined in [codec/UInt.ts:95](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L95)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| other | [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`|
**Returns:** `BN`
___
<a id="bytelength"></a>
## byteLength
▸ **byteLength**(): `number`
*Inherited from [UInt](_codec_uint_.uint.md).[byteLength](_codec_uint_.uint.md#bytelength)*
*Overrides [Base](_codec_base_.base.md).[byteLength](_codec_base_.base.md#bytelength)*
*Defined in [codec/UInt.ts:53](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L53)*
**Returns:** `number`
___
<a id="cmp"></a>
## cmp
▸ **cmp**(other: * [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`*): `number`
*Inherited from [UInt](_codec_uint_.uint.md).[cmp](_codec_uint_.uint.md#cmp)*
*Defined in [codec/UInt.ts:101](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L101)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| other | [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`|
**Returns:** `number`
___
<a id="div"></a>
## div
▸ **div**(other: * [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`*): `BN`
*Inherited from [UInt](_codec_uint_.uint.md).[div](_codec_uint_.uint.md#div)*
*Defined in [codec/UInt.ts:107](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L107)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| other | [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`|
**Returns:** `BN`
___
<a id="fromjson"></a>
## fromJSON
▸ **fromJSON**(input: *`any`*): [UInt](_codec_uint_.uint.md)
*Inherited from [UInt](_codec_uint_.uint.md).[fromJSON](_codec_uint_.uint.md#fromjson)*
*Overrides [Base](_codec_base_.base.md).[fromJSON](_codec_base_.base.md#fromjson)*
*Defined in [codec/UInt.ts:57](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L57)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| input | `any` |
**Returns:** [UInt](_codec_uint_.uint.md)
___
<a id="fromu8a"></a>
## fromU8a
▸ **fromU8a**(input: *`Uint8Array`*): [UInt](_codec_uint_.uint.md)
*Inherited from [UInt](_codec_uint_.uint.md).[fromU8a](_codec_uint_.uint.md#fromu8a)*
*Overrides [Base](_codec_base_.base.md).[fromU8a](_codec_base_.base.md#fromu8a)*
*Defined in [codec/UInt.ts:63](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L63)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| input | `Uint8Array` |
**Returns:** [UInt](_codec_uint_.uint.md)
___
<a id="gt"></a>
## gt
▸ **gt**(test: * [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`*): `boolean`
*Inherited from [UInt](_codec_uint_.uint.md).[gt](_codec_uint_.uint.md#gt)*
*Defined in [codec/UInt.ts:129](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L129)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| test | [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`|
**Returns:** `boolean`
___
<a id="gte"></a>
## gte
▸ **gte**(test: * [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`*): `boolean`
*Inherited from [UInt](_codec_uint_.uint.md).[gte](_codec_uint_.uint.md#gte)*
*Defined in [codec/UInt.ts:135](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L135)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| test | [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`|
**Returns:** `boolean`
___
<a id="iszero"></a>
## isZero
▸ **isZero**(): `boolean`
*Inherited from [UInt](_codec_uint_.uint.md).[isZero](_codec_uint_.uint.md#iszero)*
*Defined in [codec/UInt.ts:113](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L113)*
**Returns:** `boolean`
___
<a id="lt"></a>
## lt
▸ **lt**(test: * [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`*): `boolean`
*Inherited from [UInt](_codec_uint_.uint.md).[lt](_codec_uint_.uint.md#lt)*
*Defined in [codec/UInt.ts:117](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L117)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| test | [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`|
**Returns:** `boolean`
___
<a id="lte"></a>
## lte
▸ **lte**(test: * [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`*): `boolean`
*Inherited from [UInt](_codec_uint_.uint.md).[lte](_codec_uint_.uint.md#lte)*
*Defined in [codec/UInt.ts:123](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L123)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| test | [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`|
**Returns:** `boolean`
___
<a id="mul"></a>
## mul
▸ **mul**(other: * [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`*): `BN`
*Inherited from [UInt](_codec_uint_.uint.md).[mul](_codec_uint_.uint.md#mul)*
*Defined in [codec/UInt.ts:141](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L141)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| other | [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`|
**Returns:** `BN`
___
<a id="sub"></a>
## sub
▸ **sub**(other: * [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`*): `BN`
*Inherited from [UInt](_codec_uint_.uint.md).[sub](_codec_uint_.uint.md#sub)*
*Defined in [codec/UInt.ts:147](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L147)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| other | [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`|
**Returns:** `BN`
___
<a id="tobn"></a>
## toBn
▸ **toBn**(): `BN`
*Inherited from [UInt](_codec_uint_.uint.md).[toBn](_codec_uint_.uint.md#tobn)*
*Defined in [codec/UInt.ts:85](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L85)*
**Returns:** `BN`
___
<a id="tohex"></a>
## toHex
▸ **toHex**(): `string`
*Inherited from [UInt](_codec_uint_.uint.md).[toHex](_codec_uint_.uint.md#tohex)*
*Defined in [codec/UInt.ts:69](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L69)*
**Returns:** `string`
___
<a id="tojson"></a>
## toJSON
▸ **toJSON**(): `any`
*Inherited from [UInt](_codec_uint_.uint.md).[toJSON](_codec_uint_.uint.md#tojson)*
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
*Defined in [codec/UInt.ts:73](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L73)*
**Returns:** `any`
___
<a id="tonumber"></a>
## toNumber
▸ **toNumber**(): `number`
*Inherited from [UInt](_codec_uint_.uint.md).[toNumber](_codec_uint_.uint.md#tonumber)*
*Defined in [codec/UInt.ts:89](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L89)*
**Returns:** `number`
___
<a id="tostring"></a>
## toString
▸ **toString**(): `string`
*Inherited from [UInt](_codec_uint_.uint.md).[toString](_codec_uint_.uint.md#tostring)*
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
*Defined in [codec/UInt.ts:81](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L81)*
**Returns:** `string`
___
<a id="tou8a"></a>
## toU8a
▸ **toU8a**(isBare?: * `undefined` &#124; `false` &#124; `true`*): `Uint8Array`
*Inherited from [UInt](_codec_uint_.uint.md).[toU8a](_codec_uint_.uint.md#tou8a)*
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
*Defined in [codec/UInt.ts:77](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L77)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| `Optional` isBare | `undefined` &#124; `false` &#124; `true`|
**Returns:** `Uint8Array`
___
<a id="decode"></a>
## `<Static>` decode
▸ **decode**(value: *[AnyNumber](../modules/_types_d_.md#anynumber)*): `BN`
*Inherited from [UInt](_codec_uint_.uint.md).[decode](_codec_uint_.uint.md#decode)*
*Defined in [codec/UInt.ts:38](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L38)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| value | [AnyNumber](../modules/_types_d_.md#anynumber) |
**Returns:** `BN`
___
+397
View File
@@ -0,0 +1,397 @@
# Hierarchy
↳ [UInt](_codec_uint_.uint.md)
**↳ U8**
# Constructors
<a id="constructor"></a>
## constructor
⊕ **new U8**(value?: *[AnyNumber](../modules/_types_d_.md#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/48e57f9/packages/types/src/U8.ts#L9)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| `Optional` value | [AnyNumber](../modules/_types_d_.md#anynumber) |
**Returns:** [U8](_u8_.u8.md)
___
# Properties
<a id="raw"></a>
## raw
**● raw**: *`BN`*
*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/48e57f9/packages/types/src/codec/Base.ts#L19)*
___
# Methods
<a id="add"></a>
## add
▸ **add**(other: * [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`*): `BN`
*Inherited from [UInt](_codec_uint_.uint.md).[add](_codec_uint_.uint.md#add)*
*Defined in [codec/UInt.ts:95](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L95)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| other | [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`|
**Returns:** `BN`
___
<a id="bytelength"></a>
## byteLength
▸ **byteLength**(): `number`
*Inherited from [UInt](_codec_uint_.uint.md).[byteLength](_codec_uint_.uint.md#bytelength)*
*Overrides [Base](_codec_base_.base.md).[byteLength](_codec_base_.base.md#bytelength)*
*Defined in [codec/UInt.ts:53](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L53)*
**Returns:** `number`
___
<a id="cmp"></a>
## cmp
▸ **cmp**(other: * [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`*): `number`
*Inherited from [UInt](_codec_uint_.uint.md).[cmp](_codec_uint_.uint.md#cmp)*
*Defined in [codec/UInt.ts:101](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L101)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| other | [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`|
**Returns:** `number`
___
<a id="div"></a>
## div
▸ **div**(other: * [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`*): `BN`
*Inherited from [UInt](_codec_uint_.uint.md).[div](_codec_uint_.uint.md#div)*
*Defined in [codec/UInt.ts:107](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L107)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| other | [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`|
**Returns:** `BN`
___
<a id="fromjson"></a>
## fromJSON
▸ **fromJSON**(input: *`any`*): [UInt](_codec_uint_.uint.md)
*Inherited from [UInt](_codec_uint_.uint.md).[fromJSON](_codec_uint_.uint.md#fromjson)*
*Overrides [Base](_codec_base_.base.md).[fromJSON](_codec_base_.base.md#fromjson)*
*Defined in [codec/UInt.ts:57](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L57)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| input | `any` |
**Returns:** [UInt](_codec_uint_.uint.md)
___
<a id="fromu8a"></a>
## fromU8a
▸ **fromU8a**(input: *`Uint8Array`*): [UInt](_codec_uint_.uint.md)
*Inherited from [UInt](_codec_uint_.uint.md).[fromU8a](_codec_uint_.uint.md#fromu8a)*
*Overrides [Base](_codec_base_.base.md).[fromU8a](_codec_base_.base.md#fromu8a)*
*Defined in [codec/UInt.ts:63](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L63)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| input | `Uint8Array` |
**Returns:** [UInt](_codec_uint_.uint.md)
___
<a id="gt"></a>
## gt
▸ **gt**(test: * [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`*): `boolean`
*Inherited from [UInt](_codec_uint_.uint.md).[gt](_codec_uint_.uint.md#gt)*
*Defined in [codec/UInt.ts:129](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L129)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| test | [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`|
**Returns:** `boolean`
___
<a id="gte"></a>
## gte
▸ **gte**(test: * [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`*): `boolean`
*Inherited from [UInt](_codec_uint_.uint.md).[gte](_codec_uint_.uint.md#gte)*
*Defined in [codec/UInt.ts:135](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L135)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| test | [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`|
**Returns:** `boolean`
___
<a id="iszero"></a>
## isZero
▸ **isZero**(): `boolean`
*Inherited from [UInt](_codec_uint_.uint.md).[isZero](_codec_uint_.uint.md#iszero)*
*Defined in [codec/UInt.ts:113](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L113)*
**Returns:** `boolean`
___
<a id="lt"></a>
## lt
▸ **lt**(test: * [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`*): `boolean`
*Inherited from [UInt](_codec_uint_.uint.md).[lt](_codec_uint_.uint.md#lt)*
*Defined in [codec/UInt.ts:117](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L117)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| test | [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`|
**Returns:** `boolean`
___
<a id="lte"></a>
## lte
▸ **lte**(test: * [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`*): `boolean`
*Inherited from [UInt](_codec_uint_.uint.md).[lte](_codec_uint_.uint.md#lte)*
*Defined in [codec/UInt.ts:123](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L123)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| test | [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`|
**Returns:** `boolean`
___
<a id="mul"></a>
## mul
▸ **mul**(other: * [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`*): `BN`
*Inherited from [UInt](_codec_uint_.uint.md).[mul](_codec_uint_.uint.md#mul)*
*Defined in [codec/UInt.ts:141](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L141)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| other | [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`|
**Returns:** `BN`
___
<a id="sub"></a>
## sub
▸ **sub**(other: * [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`*): `BN`
*Inherited from [UInt](_codec_uint_.uint.md).[sub](_codec_uint_.uint.md#sub)*
*Defined in [codec/UInt.ts:147](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L147)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| other | [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`|
**Returns:** `BN`
___
<a id="tobn"></a>
## toBn
▸ **toBn**(): `BN`
*Inherited from [UInt](_codec_uint_.uint.md).[toBn](_codec_uint_.uint.md#tobn)*
*Defined in [codec/UInt.ts:85](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L85)*
**Returns:** `BN`
___
<a id="tohex"></a>
## toHex
▸ **toHex**(): `string`
*Inherited from [UInt](_codec_uint_.uint.md).[toHex](_codec_uint_.uint.md#tohex)*
*Defined in [codec/UInt.ts:69](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L69)*
**Returns:** `string`
___
<a id="tojson"></a>
## toJSON
▸ **toJSON**(): `any`
*Inherited from [UInt](_codec_uint_.uint.md).[toJSON](_codec_uint_.uint.md#tojson)*
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
*Defined in [codec/UInt.ts:73](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L73)*
**Returns:** `any`
___
<a id="tonumber"></a>
## toNumber
▸ **toNumber**(): `number`
*Inherited from [UInt](_codec_uint_.uint.md).[toNumber](_codec_uint_.uint.md#tonumber)*
*Defined in [codec/UInt.ts:89](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L89)*
**Returns:** `number`
___
<a id="tostring"></a>
## toString
▸ **toString**(): `string`
*Inherited from [UInt](_codec_uint_.uint.md).[toString](_codec_uint_.uint.md#tostring)*
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
*Defined in [codec/UInt.ts:81](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L81)*
**Returns:** `string`
___
<a id="tou8a"></a>
## toU8a
▸ **toU8a**(isBare?: * `undefined` &#124; `false` &#124; `true`*): `Uint8Array`
*Inherited from [UInt](_codec_uint_.uint.md).[toU8a](_codec_uint_.uint.md#tou8a)*
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
*Defined in [codec/UInt.ts:77](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L77)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| `Optional` isBare | `undefined` &#124; `false` &#124; `true`|
**Returns:** `Uint8Array`
___
<a id="decode"></a>
## `<Static>` decode
▸ **decode**(value: *[AnyNumber](../modules/_types_d_.md#anynumber)*): `BN`
*Inherited from [UInt](_codec_uint_.uint.md).[decode](_codec_uint_.uint.md#decode)*
*Defined in [codec/UInt.ts:38](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L38)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| value | [AnyNumber](../modules/_types_d_.md#anynumber) |
**Returns:** `BN`
___
@@ -0,0 +1,313 @@
# Type parameters
#### S
#### T
#### V
#### E
# Hierarchy
↳ [Struct](_codec_struct_.struct.md)
**↳ ValidatorPrefs**
# Constructors
<a id="constructor"></a>
## constructor
⊕ **new ValidatorPrefs**(value?: *`ValidatorPrefsValue`*): [ValidatorPrefs](_validatorprefs_.validatorprefs.md)
*Overrides [Struct](_codec_struct_.struct.md).[constructor](_codec_struct_.struct.md#constructor)*
*Defined in [ValidatorPrefs.ts:16](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/ValidatorPrefs.ts#L16)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| `Optional` value | `ValidatorPrefsValue` |
**Returns:** [ValidatorPrefs](_validatorprefs_.validatorprefs.md)
___
# 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:27](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L27)*
___
<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:26](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L26)*
___
<a id="raw"></a>
## raw
**● raw**: *`T`*
*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/48e57f9/packages/types/src/codec/Base.ts#L19)*
___
# Accessors
<a id="type"></a>
## Type
getType(): `E`
*Inherited from [Struct](_codec_struct_.struct.md).[Type](_codec_struct_.struct.md#type)*
*Defined in [codec/Struct.ts:76](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L76)*
**Returns:** `E`
___
<a id="unstakethreshold"></a>
## unstakeThreshold
getunstakeThreshold(): [U32](_u32_.u32.md)
*Defined in [ValidatorPrefs.ts:24](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/ValidatorPrefs.ts#L24)*
**Returns:** [U32](_u32_.u32.md)
___
<a id="validatorpayment"></a>
## validatorPayment
getvalidatorPayment(): [Balance](_balance_.balance.md)
*Defined in [ValidatorPrefs.ts:28](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/ValidatorPrefs.ts#L28)*
**Returns:** [Balance](_balance_.balance.md)
___
# Methods
<a id="bytelength"></a>
## byteLength
▸ **byteLength**(): `number`
*Inherited from [Struct](_codec_struct_.struct.md).[byteLength](_codec_struct_.struct.md#bytelength)*
*Overrides [Base](_codec_base_.base.md).[byteLength](_codec_base_.base.md#bytelength)*
*Defined in [codec/Struct.ts:80](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L80)*
**Returns:** `number`
___
<a id="fromjson"></a>
## fromJSON
▸ **fromJSON**(input: *`any`*): [Struct](_codec_struct_.struct.md)<`S`, `T`, `V`, `E`>
*Inherited from [Struct](_codec_struct_.struct.md).[fromJSON](_codec_struct_.struct.md#fromjson)*
*Overrides [Base](_codec_base_.base.md).[fromJSON](_codec_base_.base.md#fromjson)*
*Defined in [codec/Struct.ts:86](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L86)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| input | `any` |
**Returns:** [Struct](_codec_struct_.struct.md)<`S`, `T`, `V`, `E`>
___
<a id="fromu8a"></a>
## fromU8a
▸ **fromU8a**(input: *`Uint8Array`*): [Struct](_codec_struct_.struct.md)<`S`, `T`, `V`, `E`>
*Inherited from [Struct](_codec_struct_.struct.md).[fromU8a](_codec_struct_.struct.md#fromu8a)*
*Overrides [Base](_codec_base_.base.md).[fromU8a](_codec_base_.base.md#fromu8a)*
*Defined in [codec/Struct.ts:101](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L101)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| input | `Uint8Array` |
**Returns:** [Struct](_codec_struct_.struct.md)<`S`, `T`, `V`, `E`>
___
<a id="get"></a>
## get
▸ **get**(index: *`number`*): [Base](_codec_base_.base.md)
*Inherited from [Struct](_codec_struct_.struct.md).[get](_codec_struct_.struct.md#get)*
*Defined in [codec/Struct.ts:111](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L111)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| index | `number` |
**Returns:** [Base](_codec_base_.base.md)
___
<a id="keys"></a>
## keys
▸ **keys**(): `Array`<`string`>
*Inherited from [Struct](_codec_struct_.struct.md).[keys](_codec_struct_.struct.md#keys)*
*Defined in [codec/Struct.ts:126](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L126)*
**Returns:** `Array`<`string`>
___
<a id="tojson"></a>
## toJSON
▸ **toJSON**(): `any`
*Inherited from [Struct](_codec_struct_.struct.md).[toJSON](_codec_struct_.struct.md#tojson)*
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
*Defined in [codec/Struct.ts:115](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L115)*
**Returns:** `any`
___
<a id="tostring"></a>
## toString
▸ **toString**(): `string`
*Inherited from [Struct](_codec_struct_.struct.md).[toString](_codec_struct_.struct.md#tostring)*
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
*Defined in [codec/Struct.ts:138](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L138)*
**Returns:** `string`
___
<a id="tou8a"></a>
## toU8a
▸ **toU8a**(isBare?: * `undefined` &#124; `false` &#124; `true`*): `Uint8Array`
*Inherited from [Struct](_codec_struct_.struct.md).[toU8a](_codec_struct_.struct.md#tou8a)*
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
*Defined in [codec/Struct.ts:130](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L130)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| `Optional` isBare | `undefined` &#124; `false` &#124; `true`|
**Returns:** `Uint8Array`
___
<a id="values"></a>
## values
▸ **values**(): `Array`<[Base](_codec_base_.base.md)>
*Inherited from [Struct](_codec_struct_.struct.md).[values](_codec_struct_.struct.md#values)*
*Defined in [codec/Struct.ts:147](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L147)*
**Returns:** `Array`<[Base](_codec_base_.base.md)>
___
<a id="decode"></a>
## `<Static>` decode
▸ **decode**<`S`,`V`,`T`>(Types: *`S`*, value: * `V` &#124; `Array`<`any`>*, isTuple: *`boolean`*): `T`
*Inherited from [Struct](_codec_struct_.struct.md).[decode](_codec_struct_.struct.md#decode)*
*Defined in [codec/Struct.ts:45](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L45)*
**Type parameters:**
#### S
#### V
#### T
**Parameters:**
| Param | Type |
| ------ | ------ |
| Types | `S` |
| value | `V` &#124; `Array`<`any`>|
| isTuple | `boolean` |
**Returns:** `T`
___
<a id="with"></a>
## `<Static>` with
▸ **with**<`S`>(Types: *`S`*): `object`
*Inherited from [Struct](_codec_struct_.struct.md).[with](_codec_struct_.struct.md#with)*
*Defined in [codec/Struct.ts:66](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Struct.ts#L66)*
**Type parameters:**
#### S
**Parameters:**
| Param | Type |
| ------ | ------ |
| Types | `S` |
**Returns:** `object`
___
+399
View File
@@ -0,0 +1,399 @@
# Hierarchy
↳ [U32](_u32_.u32.md)
**↳ VoteIndex**
# Constructors
<a id="constructor"></a>
## constructor
⊕ **new VoteIndex**(value?: *[AnyNumber](../modules/_types_d_.md#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/48e57f9/packages/types/src/U32.ts#L9)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| `Optional` value | [AnyNumber](../modules/_types_d_.md#anynumber) |
**Returns:** [VoteIndex](_voteindex_.voteindex.md)
___
# Properties
<a id="raw"></a>
## raw
**● raw**: *`BN`*
*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/48e57f9/packages/types/src/codec/Base.ts#L19)*
___
# Methods
<a id="add"></a>
## add
▸ **add**(other: * [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`*): `BN`
*Inherited from [UInt](_codec_uint_.uint.md).[add](_codec_uint_.uint.md#add)*
*Defined in [codec/UInt.ts:95](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L95)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| other | [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`|
**Returns:** `BN`
___
<a id="bytelength"></a>
## byteLength
▸ **byteLength**(): `number`
*Inherited from [UInt](_codec_uint_.uint.md).[byteLength](_codec_uint_.uint.md#bytelength)*
*Overrides [Base](_codec_base_.base.md).[byteLength](_codec_base_.base.md#bytelength)*
*Defined in [codec/UInt.ts:53](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L53)*
**Returns:** `number`
___
<a id="cmp"></a>
## cmp
▸ **cmp**(other: * [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`*): `number`
*Inherited from [UInt](_codec_uint_.uint.md).[cmp](_codec_uint_.uint.md#cmp)*
*Defined in [codec/UInt.ts:101](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L101)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| other | [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`|
**Returns:** `number`
___
<a id="div"></a>
## div
▸ **div**(other: * [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`*): `BN`
*Inherited from [UInt](_codec_uint_.uint.md).[div](_codec_uint_.uint.md#div)*
*Defined in [codec/UInt.ts:107](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L107)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| other | [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`|
**Returns:** `BN`
___
<a id="fromjson"></a>
## fromJSON
▸ **fromJSON**(input: *`any`*): [UInt](_codec_uint_.uint.md)
*Inherited from [UInt](_codec_uint_.uint.md).[fromJSON](_codec_uint_.uint.md#fromjson)*
*Overrides [Base](_codec_base_.base.md).[fromJSON](_codec_base_.base.md#fromjson)*
*Defined in [codec/UInt.ts:57](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L57)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| input | `any` |
**Returns:** [UInt](_codec_uint_.uint.md)
___
<a id="fromu8a"></a>
## fromU8a
▸ **fromU8a**(input: *`Uint8Array`*): [UInt](_codec_uint_.uint.md)
*Inherited from [UInt](_codec_uint_.uint.md).[fromU8a](_codec_uint_.uint.md#fromu8a)*
*Overrides [Base](_codec_base_.base.md).[fromU8a](_codec_base_.base.md#fromu8a)*
*Defined in [codec/UInt.ts:63](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L63)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| input | `Uint8Array` |
**Returns:** [UInt](_codec_uint_.uint.md)
___
<a id="gt"></a>
## gt
▸ **gt**(test: * [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`*): `boolean`
*Inherited from [UInt](_codec_uint_.uint.md).[gt](_codec_uint_.uint.md#gt)*
*Defined in [codec/UInt.ts:129](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L129)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| test | [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`|
**Returns:** `boolean`
___
<a id="gte"></a>
## gte
▸ **gte**(test: * [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`*): `boolean`
*Inherited from [UInt](_codec_uint_.uint.md).[gte](_codec_uint_.uint.md#gte)*
*Defined in [codec/UInt.ts:135](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L135)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| test | [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`|
**Returns:** `boolean`
___
<a id="iszero"></a>
## isZero
▸ **isZero**(): `boolean`
*Inherited from [UInt](_codec_uint_.uint.md).[isZero](_codec_uint_.uint.md#iszero)*
*Defined in [codec/UInt.ts:113](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L113)*
**Returns:** `boolean`
___
<a id="lt"></a>
## lt
▸ **lt**(test: * [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`*): `boolean`
*Inherited from [UInt](_codec_uint_.uint.md).[lt](_codec_uint_.uint.md#lt)*
*Defined in [codec/UInt.ts:117](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L117)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| test | [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`|
**Returns:** `boolean`
___
<a id="lte"></a>
## lte
▸ **lte**(test: * [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`*): `boolean`
*Inherited from [UInt](_codec_uint_.uint.md).[lte](_codec_uint_.uint.md#lte)*
*Defined in [codec/UInt.ts:123](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L123)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| test | [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`|
**Returns:** `boolean`
___
<a id="mul"></a>
## mul
▸ **mul**(other: * [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`*): `BN`
*Inherited from [UInt](_codec_uint_.uint.md).[mul](_codec_uint_.uint.md#mul)*
*Defined in [codec/UInt.ts:141](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L141)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| other | [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`|
**Returns:** `BN`
___
<a id="sub"></a>
## sub
▸ **sub**(other: * [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`*): `BN`
*Inherited from [UInt](_codec_uint_.uint.md).[sub](_codec_uint_.uint.md#sub)*
*Defined in [codec/UInt.ts:147](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L147)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| other | [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`|
**Returns:** `BN`
___
<a id="tobn"></a>
## toBn
▸ **toBn**(): `BN`
*Inherited from [UInt](_codec_uint_.uint.md).[toBn](_codec_uint_.uint.md#tobn)*
*Defined in [codec/UInt.ts:85](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L85)*
**Returns:** `BN`
___
<a id="tohex"></a>
## toHex
▸ **toHex**(): `string`
*Inherited from [UInt](_codec_uint_.uint.md).[toHex](_codec_uint_.uint.md#tohex)*
*Defined in [codec/UInt.ts:69](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L69)*
**Returns:** `string`
___
<a id="tojson"></a>
## toJSON
▸ **toJSON**(): `any`
*Inherited from [UInt](_codec_uint_.uint.md).[toJSON](_codec_uint_.uint.md#tojson)*
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
*Defined in [codec/UInt.ts:73](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L73)*
**Returns:** `any`
___
<a id="tonumber"></a>
## toNumber
▸ **toNumber**(): `number`
*Inherited from [UInt](_codec_uint_.uint.md).[toNumber](_codec_uint_.uint.md#tonumber)*
*Defined in [codec/UInt.ts:89](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L89)*
**Returns:** `number`
___
<a id="tostring"></a>
## toString
▸ **toString**(): `string`
*Inherited from [UInt](_codec_uint_.uint.md).[toString](_codec_uint_.uint.md#tostring)*
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
*Defined in [codec/UInt.ts:81](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L81)*
**Returns:** `string`
___
<a id="tou8a"></a>
## toU8a
▸ **toU8a**(isBare?: * `undefined` &#124; `false` &#124; `true`*): `Uint8Array`
*Inherited from [UInt](_codec_uint_.uint.md).[toU8a](_codec_uint_.uint.md#tou8a)*
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
*Defined in [codec/UInt.ts:77](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L77)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| `Optional` isBare | `undefined` &#124; `false` &#124; `true`|
**Returns:** `Uint8Array`
___
<a id="decode"></a>
## `<Static>` decode
▸ **decode**(value: *[AnyNumber](../modules/_types_d_.md#anynumber)*): `BN`
*Inherited from [UInt](_codec_uint_.uint.md).[decode](_codec_uint_.uint.md#decode)*
*Defined in [codec/UInt.ts:38](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/UInt.ts#L38)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| value | [AnyNumber](../modules/_types_d_.md#anynumber) |
**Returns:** `BN`
___
@@ -0,0 +1,168 @@
# Hierarchy
↳ [Enum](_codec_enum_.enum.md)
**↳ VoteThreshold**
# Constructors
<a id="constructor"></a>
## constructor
⊕ **new VoteThreshold**(index?: * `undefined` &#124; `number`*): [VoteThreshold](_votethreshold_.votethreshold.md)
*Overrides [Enum](_codec_enum_.enum.md).[constructor](_codec_enum_.enum.md#constructor)*
*Defined in [VoteThreshold.ts:8](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/VoteThreshold.ts#L8)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| `Optional` index | `undefined` &#124; `number`|
**Returns:** [VoteThreshold](_votethreshold_.votethreshold.md)
___
# Properties
<a id="raw"></a>
## raw
**● raw**: *`number`*
*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/48e57f9/packages/types/src/codec/Base.ts#L19)*
___
# Methods
<a id="bytelength"></a>
## byteLength
▸ **byteLength**(): `number`
*Inherited from [Enum](_codec_enum_.enum.md).[byteLength](_codec_enum_.enum.md#bytelength)*
*Overrides [Base](_codec_base_.base.md).[byteLength](_codec_base_.base.md#bytelength)*
*Defined in [codec/Enum.ts:31](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Enum.ts#L31)*
**Returns:** `number`
___
<a id="fromjson"></a>
## fromJSON
▸ **fromJSON**(input: *`any`*): [Enum](_codec_enum_.enum.md)
*Inherited from [Enum](_codec_enum_.enum.md).[fromJSON](_codec_enum_.enum.md#fromjson)*
*Overrides [Base](_codec_base_.base.md).[fromJSON](_codec_base_.base.md#fromjson)*
*Defined in [codec/Enum.ts:35](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Enum.ts#L35)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| input | `any` |
**Returns:** [Enum](_codec_enum_.enum.md)
___
<a id="fromu8a"></a>
## fromU8a
▸ **fromU8a**(input: *`Uint8Array`*): [Enum](_codec_enum_.enum.md)
*Inherited from [Enum](_codec_enum_.enum.md).[fromU8a](_codec_enum_.enum.md#fromu8a)*
*Overrides [Base](_codec_base_.base.md).[fromU8a](_codec_base_.base.md#fromu8a)*
*Defined in [codec/Enum.ts:42](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Enum.ts#L42)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| input | `Uint8Array` |
**Returns:** [Enum](_codec_enum_.enum.md)
___
<a id="tojson"></a>
## toJSON
▸ **toJSON**(): `any`
*Inherited from [Enum](_codec_enum_.enum.md).[toJSON](_codec_enum_.enum.md#tojson)*
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
*Defined in [codec/Enum.ts:49](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Enum.ts#L49)*
**Returns:** `any`
___
<a id="tonumber"></a>
## toNumber
▸ **toNumber**(): `number`
*Inherited from [Enum](_codec_enum_.enum.md).[toNumber](_codec_enum_.enum.md#tonumber)*
*Defined in [codec/Enum.ts:57](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Enum.ts#L57)*
**Returns:** `number`
___
<a id="tostring"></a>
## toString
▸ **toString**(): `string`
*Inherited from [Enum](_codec_enum_.enum.md).[toString](_codec_enum_.enum.md#tostring)*
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
*Defined in [codec/Enum.ts:61](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Enum.ts#L61)*
**Returns:** `string`
___
<a id="tou8a"></a>
## toU8a
▸ **toU8a**(isBare?: * `undefined` &#124; `false` &#124; `true`*): `Uint8Array`
*Inherited from [Enum](_codec_enum_.enum.md).[toU8a](_codec_enum_.enum.md#tou8a)*
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
*Defined in [codec/Enum.ts:53](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Enum.ts#L53)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| `Optional` isBare | `undefined` &#124; `false` &#124; `true`|
**Returns:** `Uint8Array`
___
@@ -0,0 +1,63 @@
# Hierarchy
**StorageFunction**
# Callable
▸ **__call**(arg?: *`any`*): `Uint8Array`
*Defined in [StorageKey.ts:14](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/StorageKey.ts#L14)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| `Optional` arg | `any` |
**Returns:** `Uint8Array`
# Properties
<a id="meta"></a>
## meta
**● meta**: *[StorageFunctionMetadata](../classes/_metadata_.storagefunctionmetadata.md)*
*Defined in [StorageKey.ts:16](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/StorageKey.ts#L16)*
___
<a id="method"></a>
## method
**● method**: *`string`*
*Defined in [StorageKey.ts:17](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/StorageKey.ts#L17)*
___
<a id="section"></a>
## section
**● section**: *`string`*
*Defined in [StorageKey.ts:18](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/StorageKey.ts#L18)*
___
<a id="tojson"></a>
## toJSON
**● toJSON**: *`function`*
*Defined in [StorageKey.ts:19](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/StorageKey.ts#L19)*
#### Type declaration
▸(): `any`
**Returns:** `any`
___
+10
View File
@@ -0,0 +1,10 @@
# Index
### Classes
* [AccountId](../classes/_accountid_.accountid.md)
---
+10
View File
@@ -0,0 +1,10 @@
# Index
### Classes
* [AccountIndex](../classes/_accountindex_.accountindex.md)
---
+10
View File
@@ -0,0 +1,10 @@
# Index
### Classes
* [Address](../classes/_address_.address.md)
---
+10
View File
@@ -0,0 +1,10 @@
# Index
### Classes
* [AuthorityId](../classes/_authorityid_.authorityid.md)
---
+10
View File
@@ -0,0 +1,10 @@
# Index
### Classes
* [Balance](../classes/_balance_.balance.md)
---
+54
View File
@@ -0,0 +1,54 @@
# Index
### Classes
* [BftAuthoritySignature](../classes/_bft_.bftauthoritysignature.md)
* [BftHashSignature](../classes/_bft_.bfthashsignature.md)
* [Justification](../classes/_bft_.justification.md)
### Type aliases
* [BftAuthoritySignatureValue](_bft_.md#bftauthoritysignaturevalue)
* [BftHashSignatureValue](_bft_.md#bfthashsignaturevalue)
* [JustificationValue](_bft_.md#justificationvalue)
---
# Type aliases
<a id="bftauthoritysignaturevalue"></a>
## BftAuthoritySignatureValue
**Ƭ BftAuthoritySignatureValue**: *`object`*
*Defined in [Bft.ts:15](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/Bft.ts#L15)*
#### Type declaration
___
<a id="bfthashsignaturevalue"></a>
## BftHashSignatureValue
**Ƭ BftHashSignatureValue**: *`object`*
*Defined in [Bft.ts:39](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/Bft.ts#L39)*
#### Type declaration
___
<a id="justificationvalue"></a>
## JustificationValue
**Ƭ JustificationValue**: *`object`*
*Defined in [Bft.ts:63](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/Bft.ts#L63)*
#### Type declaration
___
+28
View File
@@ -0,0 +1,28 @@
# Index
### Classes
* [Block](../classes/_block_.block.md)
### Type aliases
* [BlockValue](_block_.md#blockvalue)
---
# Type aliases
<a id="blockvalue"></a>
## BlockValue
**Ƭ BlockValue**: *`object`*
*Defined in [Block.ts:14](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/Block.ts#L14)*
#### Type declaration
___
+10
View File
@@ -0,0 +1,10 @@
# Index
### Classes
* [BlockNumber](../classes/_blocknumber_.blocknumber.md)
---
+10
View File
@@ -0,0 +1,10 @@
# Index
### Classes
* [Bool](../classes/_bool_.bool.md)
---
+10
View File
@@ -0,0 +1,10 @@
# Index
### Classes
* [Bytes](../classes/_bytes_.bytes.md)
---
+28
View File
@@ -0,0 +1,28 @@
# Index
### Classes
* [Base](../classes/_codec_base_.base.md)
### Variables
* [l](_codec_base_.md#l)
---
# Variables
<a id="l"></a>
## `<Const>` l
**● l**: *`object`* = logger('codec')
*Defined in [codec/Base.ts:7](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/Base.ts#L7)*
#### Type declaration
___
+10
View File
@@ -0,0 +1,10 @@
# Index
### Classes
* [Compact](../classes/_codec_compact_.compact.md)
---
+91
View File
@@ -0,0 +1,91 @@
# Functions
<a id="createtype"></a>
## createType
▸ **createType**(type: *`string`*, value?: *`any`*): [Base](../classes/_codec_base_.base.md)
*Defined in [codec/createType.ts:117](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/createType.ts#L117)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| type | `string` |
| `Optional` value | `any` |
**Returns:** [Base](../classes/_codec_base_.base.md)
___
<a id="gettupletype"></a>
## getTupleType
▸ **getTupleType**(type: *`string`*): `Constructor`
*Defined in [codec/createType.ts:81](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/createType.ts#L81)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| type | `string` |
**Returns:** `Constructor`
___
<a id="gettype"></a>
## getType
▸ **getType**(_type: *`string`*): `Constructor`
*Defined in [codec/createType.ts:99](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/createType.ts#L99)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| _type | `string` |
**Returns:** `Constructor`
___
<a id="getvectortype"></a>
## getVectorType
▸ **getVectorType**(type: *`string`*): `Constructor`
*Defined in [codec/createType.ts:66](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/createType.ts#L66)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| type | `string` |
**Returns:** `Constructor`
___
<a id="typesplit"></a>
## typeSplit
▸ **typeSplit**(type: *`string`*): `Array`<`string`>
*Defined in [codec/createType.ts:15](https://github.com/polkadot-js/api/blob/48e57f9/packages/types/src/codec/createType.ts#L15)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| type | `string` |
**Returns:** `Array`<`string`>
___
+10
View File
@@ -0,0 +1,10 @@
# Index
### Classes
* [Enum](../classes/_codec_enum_.enum.md)
---

Some files were not shown because too many files have changed in this diff Show More