[CI Skip] 0.34.5
This commit is contained in:
@@ -27,7 +27,7 @@ Overview
|
||||
|
||||
⊕ **new Keyring**(options: *[KeyringOptions](../modules/_types_.md#keyringoptions)*): [Keyring](_index_.keyring.md)
|
||||
|
||||
*Defined in [index.ts:32](https://github.com/polkadot-js/common/blob/1e6eb2c/packages/keyring/src/index.ts#L32)*
|
||||
*Defined in [index.ts:32](https://github.com/polkadot-js/common/blob/0710c73/packages/keyring/src/index.ts#L32)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -49,7 +49,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/1e6eb2c/packages/keyring/src/index.ts#L43)*
|
||||
*Defined in [index.ts:43](https://github.com/polkadot-js/common/blob/0710c73/packages/keyring/src/index.ts#L43)*
|
||||
|
||||
___
|
||||
<a id="encodeaddress"></a>
|
||||
@@ -60,7 +60,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/1e6eb2c/packages/keyring/src/index.ts#L44)*
|
||||
*Defined in [index.ts:44](https://github.com/polkadot-js/common/blob/0710c73/packages/keyring/src/index.ts#L44)*
|
||||
|
||||
___
|
||||
<a id="setaddressprefix"></a>
|
||||
@@ -71,7 +71,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/1e6eb2c/packages/keyring/src/index.ts#L45)*
|
||||
*Defined in [index.ts:45](https://github.com/polkadot-js/common/blob/0710c73/packages/keyring/src/index.ts#L45)*
|
||||
|
||||
___
|
||||
|
||||
@@ -83,7 +83,7 @@ ___
|
||||
|
||||
gettype(): [PairType](../modules/_types_.md#pairtype)
|
||||
|
||||
*Defined in [index.ts:50](https://github.com/polkadot-js/common/blob/1e6eb2c/packages/keyring/src/index.ts#L50)*
|
||||
*Defined in [index.ts:50](https://github.com/polkadot-js/common/blob/0710c73/packages/keyring/src/index.ts#L50)*
|
||||
|
||||
*__description__*: Returns the type of the keyring, either ed25519 of sr25519
|
||||
|
||||
@@ -101,7 +101,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/1e6eb2c/packages/keyring/src/index.ts#L70)*
|
||||
*Defined in [index.ts:70](https://github.com/polkadot-js/common/blob/0710c73/packages/keyring/src/index.ts#L70)*
|
||||
|
||||
*__name__*: addFromAddress
|
||||
|
||||
@@ -126,7 +126,7 @@ ___
|
||||
|
||||
▸ **addFromJson**(__namedParameters: *`object`*): [KeyringPair](../modules/_types_.md#keyringpair)
|
||||
|
||||
*Defined in [index.ts:81](https://github.com/polkadot-js/common/blob/1e6eb2c/packages/keyring/src/index.ts#L81)*
|
||||
*Defined in [index.ts:81](https://github.com/polkadot-js/common/blob/0710c73/packages/keyring/src/index.ts#L81)*
|
||||
|
||||
*__name__*: addFromJson
|
||||
|
||||
@@ -151,7 +151,7 @@ ___
|
||||
|
||||
*Implementation of [KeyringInstance](../interfaces/_types_.keyringinstance.md).[addFromMnemonic](../interfaces/_types_.keyringinstance.md#addfrommnemonic)*
|
||||
|
||||
*Defined in [index.ts:93](https://github.com/polkadot-js/common/blob/1e6eb2c/packages/keyring/src/index.ts#L93)*
|
||||
*Defined in [index.ts:93](https://github.com/polkadot-js/common/blob/0710c73/packages/keyring/src/index.ts#L93)*
|
||||
|
||||
*__name__*: addFromMnemonic
|
||||
|
||||
@@ -177,7 +177,7 @@ ___
|
||||
|
||||
*Implementation of [KeyringInstance](../interfaces/_types_.keyringinstance.md).[addFromSeed](../interfaces/_types_.keyringinstance.md#addfromseed)*
|
||||
|
||||
*Defined in [index.ts:104](https://github.com/polkadot-js/common/blob/1e6eb2c/packages/keyring/src/index.ts#L104)*
|
||||
*Defined in [index.ts:104](https://github.com/polkadot-js/common/blob/0710c73/packages/keyring/src/index.ts#L104)*
|
||||
|
||||
*__name__*: addFromSeed
|
||||
|
||||
@@ -203,7 +203,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/1e6eb2c/packages/keyring/src/index.ts#L58)*
|
||||
*Defined in [index.ts:58](https://github.com/polkadot-js/common/blob/0710c73/packages/keyring/src/index.ts#L58)*
|
||||
|
||||
*__name__*: addPair
|
||||
|
||||
@@ -226,7 +226,7 @@ ___
|
||||
|
||||
*Implementation of [KeyringInstance](../interfaces/_types_.keyringinstance.md).[getPair](../interfaces/_types_.keyringinstance.md#getpair)*
|
||||
|
||||
*Defined in [index.ts:118](https://github.com/polkadot-js/common/blob/1e6eb2c/packages/keyring/src/index.ts#L118)*
|
||||
*Defined in [index.ts:118](https://github.com/polkadot-js/common/blob/0710c73/packages/keyring/src/index.ts#L118)*
|
||||
|
||||
*__name__*: getPair
|
||||
|
||||
@@ -251,7 +251,7 @@ ___
|
||||
|
||||
*Implementation of [KeyringInstance](../interfaces/_types_.keyringinstance.md).[getPairs](../interfaces/_types_.keyringinstance.md#getpairs)*
|
||||
|
||||
*Defined in [index.ts:127](https://github.com/polkadot-js/common/blob/1e6eb2c/packages/keyring/src/index.ts#L127)*
|
||||
*Defined in [index.ts:127](https://github.com/polkadot-js/common/blob/0710c73/packages/keyring/src/index.ts#L127)*
|
||||
|
||||
*__name__*: getPairs
|
||||
|
||||
@@ -270,7 +270,7 @@ ___
|
||||
|
||||
*Implementation of [KeyringInstance](../interfaces/_types_.keyringinstance.md).[getPublicKeys](../interfaces/_types_.keyringinstance.md#getpublickeys)*
|
||||
|
||||
*Defined in [index.ts:136](https://github.com/polkadot-js/common/blob/1e6eb2c/packages/keyring/src/index.ts#L136)*
|
||||
*Defined in [index.ts:136](https://github.com/polkadot-js/common/blob/0710c73/packages/keyring/src/index.ts#L136)*
|
||||
|
||||
*__name__*: getPublicKeys
|
||||
|
||||
@@ -289,7 +289,7 @@ ___
|
||||
|
||||
*Implementation of [KeyringInstance](../interfaces/_types_.keyringinstance.md).[removePair](../interfaces/_types_.keyringinstance.md#removepair)*
|
||||
|
||||
*Defined in [index.ts:148](https://github.com/polkadot-js/common/blob/1e6eb2c/packages/keyring/src/index.ts#L148)*
|
||||
*Defined in [index.ts:148](https://github.com/polkadot-js/common/blob/0710c73/packages/keyring/src/index.ts#L148)*
|
||||
|
||||
*__name__*: removePair
|
||||
|
||||
@@ -312,7 +312,7 @@ ___
|
||||
|
||||
*Implementation of [KeyringInstance](../interfaces/_types_.keyringinstance.md).[toJson](../interfaces/_types_.keyringinstance.md#tojson)*
|
||||
|
||||
*Defined in [index.ts:160](https://github.com/polkadot-js/common/blob/1e6eb2c/packages/keyring/src/index.ts#L160)*
|
||||
*Defined in [index.ts:160](https://github.com/polkadot-js/common/blob/0710c73/packages/keyring/src/index.ts#L160)*
|
||||
|
||||
*__name__*: toJson
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
|
||||
⊕ **new Pairs**(): [Pairs](_pairs_.pairs.md)
|
||||
|
||||
*Defined in [pairs.ts:17](https://github.com/polkadot-js/common/blob/1e6eb2c/packages/keyring/src/pairs.ts#L17)*
|
||||
*Defined in [pairs.ts:17](https://github.com/polkadot-js/common/blob/0710c73/packages/keyring/src/pairs.ts#L17)*
|
||||
|
||||
**Returns:** [Pairs](_pairs_.pairs.md)
|
||||
|
||||
@@ -30,7 +30,7 @@ ___
|
||||
|
||||
▸ **add**(pair: *[KeyringPair](../modules/_types_.md#keyringpair)*): [KeyringPair](../modules/_types_.md#keyringpair)
|
||||
|
||||
*Defined in [pairs.ts:23](https://github.com/polkadot-js/common/blob/1e6eb2c/packages/keyring/src/pairs.ts#L23)*
|
||||
*Defined in [pairs.ts:23](https://github.com/polkadot-js/common/blob/0710c73/packages/keyring/src/pairs.ts#L23)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -47,7 +47,7 @@ ___
|
||||
|
||||
▸ **all**(): `Array`<[KeyringPair](../modules/_types_.md#keyringpair)>
|
||||
|
||||
*Defined in [pairs.ts:30](https://github.com/polkadot-js/common/blob/1e6eb2c/packages/keyring/src/pairs.ts#L30)*
|
||||
*Defined in [pairs.ts:30](https://github.com/polkadot-js/common/blob/0710c73/packages/keyring/src/pairs.ts#L30)*
|
||||
|
||||
**Returns:** `Array`<[KeyringPair](../modules/_types_.md#keyringpair)>
|
||||
|
||||
@@ -58,7 +58,7 @@ ___
|
||||
|
||||
▸ **get**(address: *`string` | `Uint8Array`*): [KeyringPair](../modules/_types_.md#keyringpair)
|
||||
|
||||
*Defined in [pairs.ts:34](https://github.com/polkadot-js/common/blob/1e6eb2c/packages/keyring/src/pairs.ts#L34)*
|
||||
*Defined in [pairs.ts:34](https://github.com/polkadot-js/common/blob/0710c73/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/1e6eb2c/packages/keyring/src/pairs.ts#L49)*
|
||||
*Defined in [pairs.ts:49](https://github.com/polkadot-js/common/blob/0710c73/packages/keyring/src/pairs.ts#L49)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -397,7 +397,7 @@
|
||||
<script>
|
||||
var gitbook = gitbook || [];
|
||||
gitbook.push(function() {
|
||||
gitbook.page.hasChanged({"page":{"title":"keyring","level":"1.2","depth":1,"next":{"title":"trie-db","level":"1.3","depth":1,"path":"trie-db/README.md","ref":"trie-db/README.md","articles":[]},"previous":{"title":"Introduction","level":"1.1","depth":1,"path":"README.md","ref":"README.md","articles":[]},"dir":"ltr"},"config":{"plugins":["include-codeblock","insert-logo-link","mermaid-gb3","-highlight","sunlight-highlighter"],"root":"docs","styles":{"website":"styles/website.css"},"pluginsConfig":{"insert-logo-link":{"src":"/common/logo.png","url":"https://polkadot.js.org"},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"mermaid-gb3":{},"include-codeblock":{"check":false,"edit":false,"lang":"","fixlang":false,"template":"default","theme":"chrome","unindent":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"sunlight-highlighter":{"theme":"gitbook","lineNumbers":false}},"theme":"default","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"Polkadot Common Book","gitbook":">=2.4.0"},"file":{"path":"keyring/README.md","mtime":"2019-02-14T09:51:54.226Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-02-14T09:53:10.302Z"},"basePath":"..","book":{"language":""}});
|
||||
gitbook.page.hasChanged({"page":{"title":"keyring","level":"1.2","depth":1,"next":{"title":"trie-db","level":"1.3","depth":1,"path":"trie-db/README.md","ref":"trie-db/README.md","articles":[]},"previous":{"title":"Introduction","level":"1.1","depth":1,"path":"README.md","ref":"README.md","articles":[]},"dir":"ltr"},"config":{"plugins":["include-codeblock","insert-logo-link","mermaid-gb3","-highlight","sunlight-highlighter"],"root":"docs","styles":{"website":"styles/website.css"},"pluginsConfig":{"insert-logo-link":{"src":"/common/logo.png","url":"https://polkadot.js.org"},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"mermaid-gb3":{},"include-codeblock":{"check":false,"edit":false,"lang":"","fixlang":false,"template":"default","theme":"chrome","unindent":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"sunlight-highlighter":{"theme":"gitbook","lineNumbers":false}},"theme":"default","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"Polkadot Common Book","gitbook":">=2.4.0"},"file":{"path":"keyring/README.md","mtime":"2019-02-14T14:18:00.130Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-02-14T14:19:14.592Z"},"basePath":"..","book":{"language":""}});
|
||||
});
|
||||
</script>
|
||||
</div>
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
|
||||
**● type**: *[PairType](../modules/_types_.md#pairtype)*
|
||||
|
||||
*Defined in [types.ts:55](https://github.com/polkadot-js/common/blob/1e6eb2c/packages/keyring/src/types.ts#L55)*
|
||||
*Defined in [types.ts:55](https://github.com/polkadot-js/common/blob/0710c73/packages/keyring/src/types.ts#L55)*
|
||||
|
||||
___
|
||||
|
||||
@@ -28,7 +28,7 @@ ___
|
||||
|
||||
▸ **addFromAddress**(address: *`string` | `Uint8Array`*, meta: *[KeyringPair$Meta](../modules/_types_.md#keyringpair_meta)*, encoded: *`Uint8Array` | `null`*): [KeyringPair](../modules/_types_.md#keyringpair)
|
||||
|
||||
*Defined in [types.ts:62](https://github.com/polkadot-js/common/blob/1e6eb2c/packages/keyring/src/types.ts#L62)*
|
||||
*Defined in [types.ts:62](https://github.com/polkadot-js/common/blob/0710c73/packages/keyring/src/types.ts#L62)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -47,7 +47,7 @@ ___
|
||||
|
||||
▸ **addFromJson**(pair: *[KeyringPair$Json](../modules/_types_.md#keyringpair_json)*): [KeyringPair](../modules/_types_.md#keyringpair)
|
||||
|
||||
*Defined in [types.ts:65](https://github.com/polkadot-js/common/blob/1e6eb2c/packages/keyring/src/types.ts#L65)*
|
||||
*Defined in [types.ts:65](https://github.com/polkadot-js/common/blob/0710c73/packages/keyring/src/types.ts#L65)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -64,7 +64,7 @@ ___
|
||||
|
||||
▸ **addFromMnemonic**(mnemonic: *`string`*, meta: *[KeyringPair$Meta](../modules/_types_.md#keyringpair_meta)*): [KeyringPair](../modules/_types_.md#keyringpair)
|
||||
|
||||
*Defined in [types.ts:63](https://github.com/polkadot-js/common/blob/1e6eb2c/packages/keyring/src/types.ts#L63)*
|
||||
*Defined in [types.ts:63](https://github.com/polkadot-js/common/blob/0710c73/packages/keyring/src/types.ts#L63)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -82,7 +82,7 @@ ___
|
||||
|
||||
▸ **addFromSeed**(seed: *`Uint8Array`*, meta: *[KeyringPair$Meta](../modules/_types_.md#keyringpair_meta)*): [KeyringPair](../modules/_types_.md#keyringpair)
|
||||
|
||||
*Defined in [types.ts:64](https://github.com/polkadot-js/common/blob/1e6eb2c/packages/keyring/src/types.ts#L64)*
|
||||
*Defined in [types.ts:64](https://github.com/polkadot-js/common/blob/0710c73/packages/keyring/src/types.ts#L64)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -100,7 +100,7 @@ ___
|
||||
|
||||
▸ **addPair**(pair: *[KeyringPair](../modules/_types_.md#keyringpair)*): [KeyringPair](../modules/_types_.md#keyringpair)
|
||||
|
||||
*Defined in [types.ts:61](https://github.com/polkadot-js/common/blob/1e6eb2c/packages/keyring/src/types.ts#L61)*
|
||||
*Defined in [types.ts:61](https://github.com/polkadot-js/common/blob/0710c73/packages/keyring/src/types.ts#L61)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -117,7 +117,7 @@ ___
|
||||
|
||||
▸ **decodeAddress**(encoded: *`string` | `Uint8Array`*): `Uint8Array`
|
||||
|
||||
*Defined in [types.ts:57](https://github.com/polkadot-js/common/blob/1e6eb2c/packages/keyring/src/types.ts#L57)*
|
||||
*Defined in [types.ts:57](https://github.com/polkadot-js/common/blob/0710c73/packages/keyring/src/types.ts#L57)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -134,7 +134,7 @@ ___
|
||||
|
||||
▸ **encodeAddress**(key: *`Uint8Array` | `string`*): `string`
|
||||
|
||||
*Defined in [types.ts:58](https://github.com/polkadot-js/common/blob/1e6eb2c/packages/keyring/src/types.ts#L58)*
|
||||
*Defined in [types.ts:58](https://github.com/polkadot-js/common/blob/0710c73/packages/keyring/src/types.ts#L58)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -151,7 +151,7 @@ ___
|
||||
|
||||
▸ **getPair**(address: *`string` | `Uint8Array`*): [KeyringPair](../modules/_types_.md#keyringpair)
|
||||
|
||||
*Defined in [types.ts:66](https://github.com/polkadot-js/common/blob/1e6eb2c/packages/keyring/src/types.ts#L66)*
|
||||
*Defined in [types.ts:66](https://github.com/polkadot-js/common/blob/0710c73/packages/keyring/src/types.ts#L66)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -168,7 +168,7 @@ ___
|
||||
|
||||
▸ **getPairs**(): `Array`<[KeyringPair](../modules/_types_.md#keyringpair)>
|
||||
|
||||
*Defined in [types.ts:67](https://github.com/polkadot-js/common/blob/1e6eb2c/packages/keyring/src/types.ts#L67)*
|
||||
*Defined in [types.ts:67](https://github.com/polkadot-js/common/blob/0710c73/packages/keyring/src/types.ts#L67)*
|
||||
|
||||
**Returns:** `Array`<[KeyringPair](../modules/_types_.md#keyringpair)>
|
||||
|
||||
@@ -179,7 +179,7 @@ ___
|
||||
|
||||
▸ **getPublicKeys**(): `Array`<`Uint8Array`>
|
||||
|
||||
*Defined in [types.ts:68](https://github.com/polkadot-js/common/blob/1e6eb2c/packages/keyring/src/types.ts#L68)*
|
||||
*Defined in [types.ts:68](https://github.com/polkadot-js/common/blob/0710c73/packages/keyring/src/types.ts#L68)*
|
||||
|
||||
**Returns:** `Array`<`Uint8Array`>
|
||||
|
||||
@@ -190,7 +190,7 @@ ___
|
||||
|
||||
▸ **removePair**(address: *`string` | `Uint8Array`*): `void`
|
||||
|
||||
*Defined in [types.ts:69](https://github.com/polkadot-js/common/blob/1e6eb2c/packages/keyring/src/types.ts#L69)*
|
||||
*Defined in [types.ts:69](https://github.com/polkadot-js/common/blob/0710c73/packages/keyring/src/types.ts#L69)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -207,7 +207,7 @@ ___
|
||||
|
||||
▸ **setAddressPrefix**(prefix: *[Prefix](../modules/_address_types_.md#prefix)*): `void`
|
||||
|
||||
*Defined in [types.ts:59](https://github.com/polkadot-js/common/blob/1e6eb2c/packages/keyring/src/types.ts#L59)*
|
||||
*Defined in [types.ts:59](https://github.com/polkadot-js/common/blob/0710c73/packages/keyring/src/types.ts#L59)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -224,7 +224,7 @@ ___
|
||||
|
||||
▸ **toJson**(address: *`string` | `Uint8Array`*, passphrase?: *`undefined` | `string`*): [KeyringPair$Json](../modules/_types_.md#keyringpair_json)
|
||||
|
||||
*Defined in [types.ts:70](https://github.com/polkadot-js/common/blob/1e6eb2c/packages/keyring/src/types.ts#L70)*
|
||||
*Defined in [types.ts:70](https://github.com/polkadot-js/common/blob/0710c73/packages/keyring/src/types.ts#L70)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
|
||||
**● add**: *`function`*
|
||||
|
||||
*Defined in [types.ts:48](https://github.com/polkadot-js/common/blob/1e6eb2c/packages/keyring/src/types.ts#L48)*
|
||||
*Defined in [types.ts:48](https://github.com/polkadot-js/common/blob/0710c73/packages/keyring/src/types.ts#L48)*
|
||||
|
||||
#### Type declaration
|
||||
▸(pair: *[KeyringPair](../modules/_types_.md#keyringpair)*): [KeyringPair](../modules/_types_.md#keyringpair)
|
||||
@@ -36,7 +36,7 @@ ___
|
||||
|
||||
**● all**: *`function`*
|
||||
|
||||
*Defined in [types.ts:49](https://github.com/polkadot-js/common/blob/1e6eb2c/packages/keyring/src/types.ts#L49)*
|
||||
*Defined in [types.ts:49](https://github.com/polkadot-js/common/blob/0710c73/packages/keyring/src/types.ts#L49)*
|
||||
|
||||
#### Type declaration
|
||||
▸(): `Array`<[KeyringPair](../modules/_types_.md#keyringpair)>
|
||||
@@ -50,7 +50,7 @@ ___
|
||||
|
||||
**● get**: *`function`*
|
||||
|
||||
*Defined in [types.ts:50](https://github.com/polkadot-js/common/blob/1e6eb2c/packages/keyring/src/types.ts#L50)*
|
||||
*Defined in [types.ts:50](https://github.com/polkadot-js/common/blob/0710c73/packages/keyring/src/types.ts#L50)*
|
||||
|
||||
#### Type declaration
|
||||
▸(address: *`string` | `Uint8Array`*): [KeyringPair](../modules/_types_.md#keyringpair)
|
||||
@@ -70,7 +70,7 @@ ___
|
||||
|
||||
**● remove**: *`function`*
|
||||
|
||||
*Defined in [types.ts:51](https://github.com/polkadot-js/common/blob/1e6eb2c/packages/keyring/src/types.ts#L51)*
|
||||
*Defined in [types.ts:51](https://github.com/polkadot-js/common/blob/0710c73/packages/keyring/src/types.ts#L51)*
|
||||
|
||||
#### Type declaration
|
||||
▸(address: *`string` | `Uint8Array`*): `void`
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
▸ **decode**(encoded: *`string` | `Uint8Array`*, prefix?: *[Prefix](_address_types_.md#prefix)*): `Uint8Array`
|
||||
|
||||
*Defined in [address/decode.ts:15](https://github.com/polkadot-js/common/blob/1e6eb2c/packages/keyring/src/address/decode.ts#L15)*
|
||||
*Defined in [address/decode.ts:15](https://github.com/polkadot-js/common/blob/0710c73/packages/keyring/src/address/decode.ts#L15)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
▸ **encode**(_key: *`Uint8Array` | `string`*, prefix?: *[Prefix](_address_types_.md#prefix)*): `string`
|
||||
|
||||
*Defined in [address/encode.ts:15](https://github.com/polkadot-js/common/blob/1e6eb2c/packages/keyring/src/address/encode.ts#L15)*
|
||||
*Defined in [address/encode.ts:15](https://github.com/polkadot-js/common/blob/0710c73/packages/keyring/src/address/encode.ts#L15)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
▸ **setPrefix**(prefix: *[Prefix](_address_types_.md#prefix)*): `void`
|
||||
|
||||
*Defined in [address/setPrefix.ts:9](https://github.com/polkadot-js/common/blob/1e6eb2c/packages/keyring/src/address/setPrefix.ts#L9)*
|
||||
*Defined in [address/setPrefix.ts:9](https://github.com/polkadot-js/common/blob/0710c73/packages/keyring/src/address/setPrefix.ts#L9)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
**Ƭ Prefix**: *`0` | `1` | `3` | `42` | `43` | `68` | `69`*
|
||||
|
||||
*Defined in [address/types.ts:5](https://github.com/polkadot-js/common/blob/1e6eb2c/packages/keyring/src/address/types.ts#L5)*
|
||||
*Defined in [address/types.ts:5](https://github.com/polkadot-js/common/blob/0710c73/packages/keyring/src/address/types.ts#L5)*
|
||||
|
||||
___
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
▸ **decode**(passphrase?: *`undefined` | `string`*, _encrypted?: *`Uint8Array` | `null`*): `DecodeResult`
|
||||
|
||||
*Defined in [pair/decode.ts:19](https://github.com/polkadot-js/common/blob/1e6eb2c/packages/keyring/src/pair/decode.ts#L19)*
|
||||
*Defined in [pair/decode.ts:19](https://github.com/polkadot-js/common/blob/0710c73/packages/keyring/src/pair/decode.ts#L19)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
▸ **encode**(publicKey: *`Uint8Array`*, seed?: *`Uint8Array` | `null`*, passphrase?: *`undefined` | `string`*): `Uint8Array`
|
||||
|
||||
*Defined in [pair/encode.ts:10](https://github.com/polkadot-js/common/blob/1e6eb2c/packages/keyring/src/pair/encode.ts#L10)*
|
||||
*Defined in [pair/encode.ts:10](https://github.com/polkadot-js/common/blob/0710c73/packages/keyring/src/pair/encode.ts#L10)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
▸ **pair**(type: *[PairType](_types_.md#pairtype)*, __namedParameters: *`object`*, meta?: *[KeyringPair$Meta](_types_.md#keyringpair_meta)*, encoded: *`Uint8Array` | `null`*): [KeyringPair](_types_.md#keyringpair)
|
||||
|
||||
*Defined in [pair/index.ts:47](https://github.com/polkadot-js/common/blob/1e6eb2c/packages/keyring/src/pair/index.ts#L47)*
|
||||
*Defined in [pair/index.ts:47](https://github.com/polkadot-js/common/blob/0710c73/packages/keyring/src/pair/index.ts#L47)*
|
||||
|
||||
*__name__*: pair
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
▸ **everybody**(): [KeyringPair](_types_.md#keyringpair)
|
||||
|
||||
*Defined in [pair/nobody.ts:25](https://github.com/polkadot-js/common/blob/1e6eb2c/packages/keyring/src/pair/nobody.ts#L25)*
|
||||
*Defined in [pair/nobody.ts:25](https://github.com/polkadot-js/common/blob/0710c73/packages/keyring/src/pair/nobody.ts#L25)*
|
||||
|
||||
**Returns:** [KeyringPair](_types_.md#keyringpair)
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
▸ **toJson**(__namedParameters: *`object`*, encoded: *`Uint8Array`*, isEncrypted: *`boolean`*): [KeyringPair$Json](_types_.md#keyringpair_json)
|
||||
|
||||
*Defined in [pair/toJson.ts:15](https://github.com/polkadot-js/common/blob/1e6eb2c/packages/keyring/src/pair/toJson.ts#L15)*
|
||||
*Defined in [pair/toJson.ts:15](https://github.com/polkadot-js/common/blob/0710c73/packages/keyring/src/pair/toJson.ts#L15)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
**Ƭ PairInfo**: *`object`*
|
||||
|
||||
*Defined in [pair/types.ts:5](https://github.com/polkadot-js/common/blob/1e6eb2c/packages/keyring/src/pair/types.ts#L5)*
|
||||
*Defined in [pair/types.ts:5](https://github.com/polkadot-js/common/blob/0710c73/packages/keyring/src/pair/types.ts#L5)*
|
||||
|
||||
#### Type declaration
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
▸ **testKeyring**(options: *[KeyringOptions](_types_.md#keyringoptions)*): [KeyringInstance](../interfaces/_types_.keyringinstance.md)
|
||||
|
||||
*Defined in [testing.ts:41](https://github.com/polkadot-js/common/blob/1e6eb2c/packages/keyring/src/testing.ts#L41)*
|
||||
*Defined in [testing.ts:41](https://github.com/polkadot-js/common/blob/0710c73/packages/keyring/src/testing.ts#L41)*
|
||||
|
||||
*__name__*: testKeyring
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
▸ **testKeyringPairs**(options: *[KeyringOptions](_types_.md#keyringoptions)*): `TestKeyringMap`
|
||||
|
||||
*Defined in [testingPairs.ts:14](https://github.com/polkadot-js/common/blob/1e6eb2c/packages/keyring/src/testingPairs.ts#L14)*
|
||||
*Defined in [testingPairs.ts:14](https://github.com/polkadot-js/common/blob/0710c73/packages/keyring/src/testingPairs.ts#L14)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
|
||||
**Ƭ KeyringOptions**: *`object`*
|
||||
|
||||
*Defined in [types.ts:9](https://github.com/polkadot-js/common/blob/1e6eb2c/packages/keyring/src/types.ts#L9)*
|
||||
*Defined in [types.ts:9](https://github.com/polkadot-js/common/blob/0710c73/packages/keyring/src/types.ts#L9)*
|
||||
|
||||
#### Type declaration
|
||||
|
||||
@@ -38,7 +38,7 @@ ___
|
||||
|
||||
**Ƭ KeyringPair**: *`object`*
|
||||
|
||||
*Defined in [types.ts:33](https://github.com/polkadot-js/common/blob/1e6eb2c/packages/keyring/src/types.ts#L33)*
|
||||
*Defined in [types.ts:33](https://github.com/polkadot-js/common/blob/0710c73/packages/keyring/src/types.ts#L33)*
|
||||
|
||||
#### Type declaration
|
||||
|
||||
@@ -49,7 +49,7 @@ ___
|
||||
|
||||
**Ƭ KeyringPair$Json**: *`object`*
|
||||
|
||||
*Defined in [types.ts:26](https://github.com/polkadot-js/common/blob/1e6eb2c/packages/keyring/src/types.ts#L26)*
|
||||
*Defined in [types.ts:26](https://github.com/polkadot-js/common/blob/0710c73/packages/keyring/src/types.ts#L26)*
|
||||
|
||||
#### Type declaration
|
||||
|
||||
@@ -60,7 +60,7 @@ ___
|
||||
|
||||
**Ƭ KeyringPair$JsonEncoding**: *`object`*
|
||||
|
||||
*Defined in [types.ts:20](https://github.com/polkadot-js/common/blob/1e6eb2c/packages/keyring/src/types.ts#L20)*
|
||||
*Defined in [types.ts:20](https://github.com/polkadot-js/common/blob/0710c73/packages/keyring/src/types.ts#L20)*
|
||||
|
||||
#### Type declaration
|
||||
|
||||
@@ -71,7 +71,7 @@ ___
|
||||
|
||||
**Ƭ KeyringPair$JsonVersion**: *"0" | "1"*
|
||||
|
||||
*Defined in [types.ts:18](https://github.com/polkadot-js/common/blob/1e6eb2c/packages/keyring/src/types.ts#L18)*
|
||||
*Defined in [types.ts:18](https://github.com/polkadot-js/common/blob/0710c73/packages/keyring/src/types.ts#L18)*
|
||||
|
||||
___
|
||||
<a id="keyringpair_meta"></a>
|
||||
@@ -80,7 +80,7 @@ ___
|
||||
|
||||
**Ƭ KeyringPair$Meta**: *`object`*
|
||||
|
||||
*Defined in [types.ts:14](https://github.com/polkadot-js/common/blob/1e6eb2c/packages/keyring/src/types.ts#L14)*
|
||||
*Defined in [types.ts:14](https://github.com/polkadot-js/common/blob/0710c73/packages/keyring/src/types.ts#L14)*
|
||||
|
||||
#### Type declaration
|
||||
|
||||
@@ -93,7 +93,7 @@ ___
|
||||
|
||||
**Ƭ PairType**: *"ed25519" | "sr25519"*
|
||||
|
||||
*Defined in [types.ts:7](https://github.com/polkadot-js/common/blob/1e6eb2c/packages/keyring/src/types.ts#L7)*
|
||||
*Defined in [types.ts:7](https://github.com/polkadot-js/common/blob/0710c73/packages/keyring/src/types.ts#L7)*
|
||||
|
||||
___
|
||||
|
||||
|
||||
Reference in New Issue
Block a user