[CI Skip] 0.34.15
This commit is contained in:
@@ -26,15 +26,15 @@ Overview
|
||||
|
||||
## constructor
|
||||
|
||||
⊕ **new Keyring**(options: *[KeyringOptions](../modules/_types_.md#keyringoptions)*): [Keyring](_index_.keyring.md)
|
||||
⊕ **new Keyring**(options?: *[KeyringOptions](../modules/_types_.md#keyringoptions)*): [Keyring](_index_.keyring.md)
|
||||
|
||||
*Defined in [index.ts:32](https://github.com/polkadot-js/common/blob/50721f2/packages/keyring/src/index.ts#L32)*
|
||||
*Defined in [index.ts:32](https://github.com/polkadot-js/common/blob/ca376a2/packages/keyring/src/index.ts#L32)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
| Name | Type |
|
||||
| ------ | ------ |
|
||||
| options | [KeyringOptions](../modules/_types_.md#keyringoptions) |
|
||||
| Name | Type | Default value |
|
||||
| ------ | ------ | ------ |
|
||||
| `Default value` options | [KeyringOptions](../modules/_types_.md#keyringoptions) | { type: 'ed25519' } |
|
||||
|
||||
**Returns:** [Keyring](_index_.keyring.md)
|
||||
|
||||
@@ -50,7 +50,7 @@ ___
|
||||
|
||||
*Implementation of [KeyringInstance](../interfaces/_types_.keyringinstance.md).[decodeAddress](../interfaces/_types_.keyringinstance.md#decodeaddress)*
|
||||
|
||||
*Defined in [index.ts:43](https://github.com/polkadot-js/common/blob/50721f2/packages/keyring/src/index.ts#L43)*
|
||||
*Defined in [index.ts:43](https://github.com/polkadot-js/common/blob/ca376a2/packages/keyring/src/index.ts#L43)*
|
||||
|
||||
___
|
||||
<a id="encodeaddress"></a>
|
||||
@@ -61,7 +61,7 @@ ___
|
||||
|
||||
*Implementation of [KeyringInstance](../interfaces/_types_.keyringinstance.md).[encodeAddress](../interfaces/_types_.keyringinstance.md#encodeaddress)*
|
||||
|
||||
*Defined in [index.ts:44](https://github.com/polkadot-js/common/blob/50721f2/packages/keyring/src/index.ts#L44)*
|
||||
*Defined in [index.ts:44](https://github.com/polkadot-js/common/blob/ca376a2/packages/keyring/src/index.ts#L44)*
|
||||
|
||||
___
|
||||
<a id="setaddressprefix"></a>
|
||||
@@ -72,7 +72,7 @@ ___
|
||||
|
||||
*Implementation of [KeyringInstance](../interfaces/_types_.keyringinstance.md).[setAddressPrefix](../interfaces/_types_.keyringinstance.md#setaddressprefix)*
|
||||
|
||||
*Defined in [index.ts:45](https://github.com/polkadot-js/common/blob/50721f2/packages/keyring/src/index.ts#L45)*
|
||||
*Defined in [index.ts:45](https://github.com/polkadot-js/common/blob/ca376a2/packages/keyring/src/index.ts#L45)*
|
||||
|
||||
___
|
||||
|
||||
@@ -84,7 +84,7 @@ ___
|
||||
|
||||
gettype(): [KeyringPairType](../modules/_types_.md#keyringpairtype)
|
||||
|
||||
*Defined in [index.ts:50](https://github.com/polkadot-js/common/blob/50721f2/packages/keyring/src/index.ts#L50)*
|
||||
*Defined in [index.ts:50](https://github.com/polkadot-js/common/blob/ca376a2/packages/keyring/src/index.ts#L50)*
|
||||
|
||||
*__description__*: Returns the type of the keyring, either ed25519 of sr25519
|
||||
|
||||
@@ -102,7 +102,7 @@ ___
|
||||
|
||||
*Implementation of [KeyringInstance](../interfaces/_types_.keyringinstance.md).[addFromAddress](../interfaces/_types_.keyringinstance.md#addfromaddress)*
|
||||
|
||||
*Defined in [index.ts:70](https://github.com/polkadot-js/common/blob/50721f2/packages/keyring/src/index.ts#L70)*
|
||||
*Defined in [index.ts:70](https://github.com/polkadot-js/common/blob/ca376a2/packages/keyring/src/index.ts#L70)*
|
||||
|
||||
*__name__*: addFromAddress
|
||||
|
||||
@@ -128,7 +128,7 @@ ___
|
||||
|
||||
▸ **addFromJson**(__namedParameters: *`object`*): [KeyringPair](../interfaces/_types_.keyringpair.md)
|
||||
|
||||
*Defined in [index.ts:81](https://github.com/polkadot-js/common/blob/50721f2/packages/keyring/src/index.ts#L81)*
|
||||
*Defined in [index.ts:81](https://github.com/polkadot-js/common/blob/ca376a2/packages/keyring/src/index.ts#L81)*
|
||||
|
||||
*__name__*: addFromJson
|
||||
|
||||
@@ -153,7 +153,7 @@ ___
|
||||
|
||||
*Implementation of [KeyringInstance](../interfaces/_types_.keyringinstance.md).[addFromMnemonic](../interfaces/_types_.keyringinstance.md#addfrommnemonic)*
|
||||
|
||||
*Defined in [index.ts:96](https://github.com/polkadot-js/common/blob/50721f2/packages/keyring/src/index.ts#L96)*
|
||||
*Defined in [index.ts:96](https://github.com/polkadot-js/common/blob/ca376a2/packages/keyring/src/index.ts#L96)*
|
||||
|
||||
*__name__*: addFromMnemonic
|
||||
|
||||
@@ -180,7 +180,7 @@ ___
|
||||
|
||||
*Implementation of [KeyringInstance](../interfaces/_types_.keyringinstance.md).[addFromSeed](../interfaces/_types_.keyringinstance.md#addfromseed)*
|
||||
|
||||
*Defined in [index.ts:107](https://github.com/polkadot-js/common/blob/50721f2/packages/keyring/src/index.ts#L107)*
|
||||
*Defined in [index.ts:107](https://github.com/polkadot-js/common/blob/ca376a2/packages/keyring/src/index.ts#L107)*
|
||||
|
||||
*__name__*: addFromSeed
|
||||
|
||||
@@ -207,7 +207,7 @@ ___
|
||||
|
||||
*Implementation of [KeyringInstance](../interfaces/_types_.keyringinstance.md).[addPair](../interfaces/_types_.keyringinstance.md#addpair)*
|
||||
|
||||
*Defined in [index.ts:58](https://github.com/polkadot-js/common/blob/50721f2/packages/keyring/src/index.ts#L58)*
|
||||
*Defined in [index.ts:58](https://github.com/polkadot-js/common/blob/ca376a2/packages/keyring/src/index.ts#L58)*
|
||||
|
||||
*__name__*: addPair
|
||||
|
||||
@@ -230,7 +230,7 @@ ___
|
||||
|
||||
*Implementation of [KeyringInstance](../interfaces/_types_.keyringinstance.md).[getPair](../interfaces/_types_.keyringinstance.md#getpair)*
|
||||
|
||||
*Defined in [index.ts:121](https://github.com/polkadot-js/common/blob/50721f2/packages/keyring/src/index.ts#L121)*
|
||||
*Defined in [index.ts:121](https://github.com/polkadot-js/common/blob/ca376a2/packages/keyring/src/index.ts#L121)*
|
||||
|
||||
*__name__*: getPair
|
||||
|
||||
@@ -255,7 +255,7 @@ ___
|
||||
|
||||
*Implementation of [KeyringInstance](../interfaces/_types_.keyringinstance.md).[getPairs](../interfaces/_types_.keyringinstance.md#getpairs)*
|
||||
|
||||
*Defined in [index.ts:130](https://github.com/polkadot-js/common/blob/50721f2/packages/keyring/src/index.ts#L130)*
|
||||
*Defined in [index.ts:130](https://github.com/polkadot-js/common/blob/ca376a2/packages/keyring/src/index.ts#L130)*
|
||||
|
||||
*__name__*: getPairs
|
||||
|
||||
@@ -274,7 +274,7 @@ ___
|
||||
|
||||
*Implementation of [KeyringInstance](../interfaces/_types_.keyringinstance.md).[getPublicKeys](../interfaces/_types_.keyringinstance.md#getpublickeys)*
|
||||
|
||||
*Defined in [index.ts:139](https://github.com/polkadot-js/common/blob/50721f2/packages/keyring/src/index.ts#L139)*
|
||||
*Defined in [index.ts:139](https://github.com/polkadot-js/common/blob/ca376a2/packages/keyring/src/index.ts#L139)*
|
||||
|
||||
*__name__*: getPublicKeys
|
||||
|
||||
@@ -293,7 +293,7 @@ ___
|
||||
|
||||
*Implementation of [KeyringInstance](../interfaces/_types_.keyringinstance.md).[removePair](../interfaces/_types_.keyringinstance.md#removepair)*
|
||||
|
||||
*Defined in [index.ts:151](https://github.com/polkadot-js/common/blob/50721f2/packages/keyring/src/index.ts#L151)*
|
||||
*Defined in [index.ts:151](https://github.com/polkadot-js/common/blob/ca376a2/packages/keyring/src/index.ts#L151)*
|
||||
|
||||
*__name__*: removePair
|
||||
|
||||
@@ -316,7 +316,7 @@ ___
|
||||
|
||||
*Implementation of [KeyringInstance](../interfaces/_types_.keyringinstance.md).[toJson](../interfaces/_types_.keyringinstance.md#tojson)*
|
||||
|
||||
*Defined in [index.ts:163](https://github.com/polkadot-js/common/blob/50721f2/packages/keyring/src/index.ts#L163)*
|
||||
*Defined in [index.ts:163](https://github.com/polkadot-js/common/blob/ca376a2/packages/keyring/src/index.ts#L163)*
|
||||
|
||||
*__name__*: toJson
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
|
||||
⊕ **new Pairs**(): [Pairs](_pairs_.pairs.md)
|
||||
|
||||
*Defined in [pairs.ts:17](https://github.com/polkadot-js/common/blob/50721f2/packages/keyring/src/pairs.ts#L17)*
|
||||
*Defined in [pairs.ts:17](https://github.com/polkadot-js/common/blob/ca376a2/packages/keyring/src/pairs.ts#L17)*
|
||||
|
||||
**Returns:** [Pairs](_pairs_.pairs.md)
|
||||
|
||||
@@ -30,7 +30,7 @@ ___
|
||||
|
||||
▸ **add**(pair: *[KeyringPair](../interfaces/_types_.keyringpair.md)*): [KeyringPair](../interfaces/_types_.keyringpair.md)
|
||||
|
||||
*Defined in [pairs.ts:23](https://github.com/polkadot-js/common/blob/50721f2/packages/keyring/src/pairs.ts#L23)*
|
||||
*Defined in [pairs.ts:23](https://github.com/polkadot-js/common/blob/ca376a2/packages/keyring/src/pairs.ts#L23)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -47,7 +47,7 @@ ___
|
||||
|
||||
▸ **all**(): `Array`<[KeyringPair](../interfaces/_types_.keyringpair.md)>
|
||||
|
||||
*Defined in [pairs.ts:30](https://github.com/polkadot-js/common/blob/50721f2/packages/keyring/src/pairs.ts#L30)*
|
||||
*Defined in [pairs.ts:30](https://github.com/polkadot-js/common/blob/ca376a2/packages/keyring/src/pairs.ts#L30)*
|
||||
|
||||
**Returns:** `Array`<[KeyringPair](../interfaces/_types_.keyringpair.md)>
|
||||
|
||||
@@ -58,7 +58,7 @@ ___
|
||||
|
||||
▸ **get**(address: *`string` \| `Uint8Array`*): [KeyringPair](../interfaces/_types_.keyringpair.md)
|
||||
|
||||
*Defined in [pairs.ts:34](https://github.com/polkadot-js/common/blob/50721f2/packages/keyring/src/pairs.ts#L34)*
|
||||
*Defined in [pairs.ts:34](https://github.com/polkadot-js/common/blob/ca376a2/packages/keyring/src/pairs.ts#L34)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -75,7 +75,7 @@ ___
|
||||
|
||||
▸ **remove**(address: *`string` \| `Uint8Array`*): `void`
|
||||
|
||||
*Defined in [pairs.ts:49](https://github.com/polkadot-js/common/blob/50721f2/packages/keyring/src/pairs.ts#L49)*
|
||||
*Defined in [pairs.ts:49](https://github.com/polkadot-js/common/blob/ca376a2/packages/keyring/src/pairs.ts#L49)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
Reference in New Issue
Block a user