mirror of
https://github.com/pezkuwichain/pezkuwi-ui.git
synced 2026-04-29 00:58:01 +00:00
22 lines
46 KiB
HTML
22 lines
46 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en-US">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width,initial-scale=1">
|
|
<title>Hierarchy | polkadot-js/ui</title>
|
|
<meta name="description" content="UI libraries and utilities in-use accross @polkadot projects">
|
|
|
|
|
|
<link rel="preload" href="/ui/assets/css/0.styles.306e632f.css" as="style"><link rel="preload" href="/ui/assets/js/app.1aabc8af.js" as="script"><link rel="preload" href="/ui/assets/js/2.6d27345c.js" as="script"><link rel="preload" href="/ui/assets/js/38.8f174f10.js" as="script"><link rel="prefetch" href="/ui/assets/js/10.80e956c5.js"><link rel="prefetch" href="/ui/assets/js/11.d8f63553.js"><link rel="prefetch" href="/ui/assets/js/12.b3f97aac.js"><link rel="prefetch" href="/ui/assets/js/13.280a60cf.js"><link rel="prefetch" href="/ui/assets/js/14.4498e88a.js"><link rel="prefetch" href="/ui/assets/js/15.67fde83f.js"><link rel="prefetch" href="/ui/assets/js/16.acd1a66e.js"><link rel="prefetch" href="/ui/assets/js/17.b1f90116.js"><link rel="prefetch" href="/ui/assets/js/18.1c4613b7.js"><link rel="prefetch" href="/ui/assets/js/19.fcd51710.js"><link rel="prefetch" href="/ui/assets/js/20.f28c8c10.js"><link rel="prefetch" href="/ui/assets/js/21.c2ee56ce.js"><link rel="prefetch" href="/ui/assets/js/22.890c9856.js"><link rel="prefetch" href="/ui/assets/js/23.9f3763a2.js"><link rel="prefetch" href="/ui/assets/js/24.97e946e5.js"><link rel="prefetch" href="/ui/assets/js/25.91639bee.js"><link rel="prefetch" href="/ui/assets/js/26.716fb93f.js"><link rel="prefetch" href="/ui/assets/js/27.4b675834.js"><link rel="prefetch" href="/ui/assets/js/28.7d88314b.js"><link rel="prefetch" href="/ui/assets/js/29.90a28b71.js"><link rel="prefetch" href="/ui/assets/js/3.4b875ccd.js"><link rel="prefetch" href="/ui/assets/js/30.f99f52af.js"><link rel="prefetch" href="/ui/assets/js/31.da07e443.js"><link rel="prefetch" href="/ui/assets/js/32.2703ca78.js"><link rel="prefetch" href="/ui/assets/js/33.f8bb0a2c.js"><link rel="prefetch" href="/ui/assets/js/34.878642a4.js"><link rel="prefetch" href="/ui/assets/js/35.f7f52224.js"><link rel="prefetch" href="/ui/assets/js/36.45c20fb6.js"><link rel="prefetch" href="/ui/assets/js/37.189849a1.js"><link rel="prefetch" href="/ui/assets/js/39.b294ed8d.js"><link rel="prefetch" href="/ui/assets/js/4.7bd9f4a3.js"><link rel="prefetch" href="/ui/assets/js/40.6afeb293.js"><link rel="prefetch" href="/ui/assets/js/41.fa92ab20.js"><link rel="prefetch" href="/ui/assets/js/42.eb0d3dee.js"><link rel="prefetch" href="/ui/assets/js/43.4cb5a996.js"><link rel="prefetch" href="/ui/assets/js/44.8ad07927.js"><link rel="prefetch" href="/ui/assets/js/45.22d2b977.js"><link rel="prefetch" href="/ui/assets/js/46.0c525e98.js"><link rel="prefetch" href="/ui/assets/js/47.6e6502a8.js"><link rel="prefetch" href="/ui/assets/js/48.ed8002fb.js"><link rel="prefetch" href="/ui/assets/js/49.c8d00d03.js"><link rel="prefetch" href="/ui/assets/js/5.483bab38.js"><link rel="prefetch" href="/ui/assets/js/50.fb75323a.js"><link rel="prefetch" href="/ui/assets/js/51.edf2edfb.js"><link rel="prefetch" href="/ui/assets/js/52.5446b912.js"><link rel="prefetch" href="/ui/assets/js/53.6b9b720d.js"><link rel="prefetch" href="/ui/assets/js/54.40c92165.js"><link rel="prefetch" href="/ui/assets/js/55.f2fbeb18.js"><link rel="prefetch" href="/ui/assets/js/56.a3639b20.js"><link rel="prefetch" href="/ui/assets/js/57.22996237.js"><link rel="prefetch" href="/ui/assets/js/58.42978de0.js"><link rel="prefetch" href="/ui/assets/js/59.8e7b3231.js"><link rel="prefetch" href="/ui/assets/js/6.3a8198b7.js"><link rel="prefetch" href="/ui/assets/js/60.acceaccf.js"><link rel="prefetch" href="/ui/assets/js/61.8696a75b.js"><link rel="prefetch" href="/ui/assets/js/62.bd8321e9.js"><link rel="prefetch" href="/ui/assets/js/63.f906c971.js"><link rel="prefetch" href="/ui/assets/js/64.8eac7073.js"><link rel="prefetch" href="/ui/assets/js/65.0f62b36f.js"><link rel="prefetch" href="/ui/assets/js/66.ceff7aba.js"><link rel="prefetch" href="/ui/assets/js/67.58bef26a.js"><link rel="prefetch" href="/ui/assets/js/68.2b4a214f.js"><link rel="prefetch" href="/ui/assets/js/7.584ff5fa.js"><link rel="prefetch" href="/ui/assets/js/8.7fae4912.js"><link rel="prefetch" href="/ui/assets/js/9.95e78100.js">
|
|
<link rel="stylesheet" href="/ui/assets/css/0.styles.306e632f.css">
|
|
</head>
|
|
<body>
|
|
<div id="app" data-server-rendered="true"><div class="theme-container"><header class="navbar"><div class="sidebar-button"><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" role="img" viewBox="0 0 448 512" class="icon"><path fill="currentColor" d="M436 124H12c-6.627 0-12-5.373-12-12V80c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12z"></path></svg></div> <a href="/ui/" class="home-link router-link-active"><!----> <span class="site-name">polkadot-js/ui</span></a> <div class="links"><div class="search-box"><input aria-label="Search" autocomplete="off" spellcheck="false" value=""> <!----></div> <nav class="nav-links can-hide"><div class="nav-item"><a href="https://github.com/polkadot-js/ui" target="_blank" rel="noopener noreferrer" class="nav-link external">
|
|
GitHub
|
|
<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></div> <!----></nav></div></header> <div class="sidebar-mask"></div> <aside class="sidebar"><nav class="nav-links"><div class="nav-item"><a href="https://github.com/polkadot-js/ui" target="_blank" rel="noopener noreferrer" class="nav-link external">
|
|
GitHub
|
|
<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></div> <!----></nav> <ul class="sidebar-links"><li><a href="/ui/ui-identicon/" class="sidebar-link">@polkadot/ui-identicon</a><ul class="sidebar-sub-headers"><li class="sidebar-sub-header"><a href="/ui/ui-identicon/#usage-examples" class="sidebar-link">Usage Examples</a></li></ul></li><li><a href="/ui/ui-keyring/" class="sidebar-link">@polkadot/ui-keyring</a><ul class="sidebar-sub-headers"><li class="sidebar-sub-header"><a href="/ui/ui-keyring/#usage-examples" class="sidebar-link">Usage Examples</a></li><li class="sidebar-sub-header"><a href="/ui/ui-keyring/#observables" class="sidebar-link">Observables</a></li><li class="sidebar-sub-header"><a href="/ui/ui-keyring/#faq" class="sidebar-link">FAQ</a></li><li class="sidebar-sub-header"><a href="/ui/ui-keyring/#users" class="sidebar-link">Users</a></li></ul></li><li><a href="/ui/ui-settings/" class="sidebar-link">@polkadot/ui-settings</a><ul class="sidebar-sub-headers"><li class="sidebar-sub-header"><a href="/ui/ui-settings/#usage-examples" class="sidebar-link">Usage Examples</a></li><li class="sidebar-sub-header"><a href="/ui/ui-settings/#used-by" class="sidebar-link">Used by</a></li></ul></li><li><a href="/ui/ui-util/" class="sidebar-link">@polkadot/ui-util</a><ul class="sidebar-sub-headers"><li class="sidebar-sub-header"><a href="/ui/ui-util/#formatbalance" class="sidebar-link">formatBalance</a></li><li class="sidebar-sub-header"><a href="/ui/ui-util/#calcsi" class="sidebar-link">calcSi</a></li></ul></li><li><a href="/ui/CONTRIBUTING.html" class="sidebar-link">Contributing</a><ul class="sidebar-sub-headers"><li class="sidebar-sub-header"><a href="/ui/CONTRIBUTING.html#what" class="sidebar-link">What?</a></li><li class="sidebar-sub-header"><a href="/ui/CONTRIBUTING.html#rules" class="sidebar-link">Rules</a></li><li class="sidebar-sub-header"><a href="/ui/CONTRIBUTING.html#releases" class="sidebar-link">Releases</a></li><li class="sidebar-sub-header"><a href="/ui/CONTRIBUTING.html#changes-to-this-arrangement" class="sidebar-link">Changes to this arrangement</a></li><li class="sidebar-sub-header"><a href="/ui/CONTRIBUTING.html#heritage" class="sidebar-link">Heritage</a></li></ul></li></ul> </aside> <main class="page"> <div class="content default"><h1 id="hierarchy"><a href="#hierarchy" aria-hidden="true" class="header-anchor">#</a> Hierarchy</h1> <p><a href="/ui/ui-keyring/classes/_base_.base.html">Base</a></p> <p><strong>↳ Keyring</strong></p> <h1 id="implements"><a href="#implements" aria-hidden="true" class="header-anchor">#</a> Implements</h1> <ul><li><a href="/ui/ui-keyring/interfaces/_types_.keyringstruct.html">KeyringStruct</a></li></ul> <h1 id="constructors"><a href="#constructors" aria-hidden="true" class="header-anchor">#</a> Constructors</h1> <p><a id="constructor"></a></p> <h2 id="constructor"><a href="#constructor" aria-hidden="true" class="header-anchor">#</a> constructor</h2> <p>⊕ <strong>new Keyring</strong>(): <a href="/ui/ui-keyring/classes/_keyring_.keyring.html" class="router-link-exact-active router-link-active">Keyring</a></p> <p><em>Inherited from <a href="/ui/ui-keyring/classes/_base_.base.html">Base</a>.<a href="/ui/ui-keyring/classes/_base_.base.html#constructor">constructor</a></em></p> <p><em>Defined in <a href="https://github.com/polkadot-js/ui/blob/0dbdc7e/packages/ui-keyring/src/Base.ts#L22" target="_blank" rel="noopener noreferrer">Base.ts:22<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></em></p> <p><strong>Returns:</strong> <a href="/ui/ui-keyring/classes/_keyring_.keyring.html" class="router-link-exact-active router-link-active">Keyring</a></p> <hr> <h1 id="accessors"><a href="#accessors" aria-hidden="true" class="header-anchor">#</a> Accessors</h1> <p><a id="accounts"></a></p> <h2 id="accounts"><a href="#accounts" aria-hidden="true" class="header-anchor">#</a> accounts</h2> <p><strong>get accounts</strong>(): <code>object</code></p> <p><em>Inherited from <a href="/ui/ui-keyring/classes/_base_.base.html">Base</a>.<a href="/ui/ui-keyring/classes/_base_.base.html#accounts">accounts</a></em></p> <p><em>Defined in <a href="https://github.com/polkadot-js/ui/blob/0dbdc7e/packages/ui-keyring/src/Base.ts#L30" target="_blank" rel="noopener noreferrer">Base.ts:30<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></em></p> <p><strong>Returns:</strong> <code>object</code></p> <hr> <p><a id="addresses"></a></p> <h2 id="addresses"><a href="#addresses" aria-hidden="true" class="header-anchor">#</a> addresses</h2> <p><strong>get addresses</strong>(): <code>object</code></p> <p><em>Inherited from <a href="/ui/ui-keyring/classes/_base_.base.html">Base</a>.<a href="/ui/ui-keyring/classes/_base_.base.html#addresses">addresses</a></em></p> <p><em>Defined in <a href="https://github.com/polkadot-js/ui/blob/0dbdc7e/packages/ui-keyring/src/Base.ts#L34" target="_blank" rel="noopener noreferrer">Base.ts:34<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></em></p> <p><strong>Returns:</strong> <code>object</code></p> <hr> <p><a id="keyring"></a></p> <h2 id="keyring"><a href="#keyring" aria-hidden="true" class="header-anchor">#</a> keyring</h2> <p><strong>get keyring</strong>(): <code>KeyringInstance</code></p> <p><em>Inherited from <a href="/ui/ui-keyring/classes/_base_.base.html">Base</a>.<a href="/ui/ui-keyring/classes/_base_.base.html#keyring">keyring</a></em></p> <p><em>Defined in <a href="https://github.com/polkadot-js/ui/blob/0dbdc7e/packages/ui-keyring/src/Base.ts#L38" target="_blank" rel="noopener noreferrer">Base.ts:38<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></em></p> <p><strong>Returns:</strong> <code>KeyringInstance</code></p> <hr> <h1 id="methods"><a href="#methods" aria-hidden="true" class="header-anchor">#</a> Methods</h1> <p><a id="addaccountpair"></a></p> <h2 id="addaccountpair"><a href="#addaccountpair" aria-hidden="true" class="header-anchor">#</a> addAccountPair</h2> <p>▸ <strong>addAccountPair</strong>(pair: <em><code>KeyringPair</code></em>, password: <em><code>string</code></em>): <code>KeyringPair</code></p> <p><em>Defined in <a href="https://github.com/polkadot-js/ui/blob/0dbdc7e/packages/ui-keyring/src/Keyring.ts#L22" target="_blank" rel="noopener noreferrer">Keyring.ts:22<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></em></p> <p><strong>Parameters:</strong></p> <table><thead><tr><th>Name</th> <th>Type</th></tr></thead> <tbody><tr><td>pair</td> <td><code>KeyringPair</code></td></tr> <tr><td>password</td> <td><code>string</code></td></tr></tbody></table> <p><strong>Returns:</strong> <code>KeyringPair</code></p> <hr> <p><a id="backupaccount"></a></p> <h2 id="backupaccount"><a href="#backupaccount" aria-hidden="true" class="header-anchor">#</a> backupAccount</h2> <p>▸ <strong>backupAccount</strong>(pair: <em><code>KeyringPair</code></em>, password: <em><code>string</code></em>): <code>KeyringPair$Json</code></p> <p><em>Defined in <a href="https://github.com/polkadot-js/ui/blob/0dbdc7e/packages/ui-keyring/src/Keyring.ts#L29" target="_blank" rel="noopener noreferrer">Keyring.ts:29<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></em></p> <p><strong>Parameters:</strong></p> <table><thead><tr><th>Name</th> <th>Type</th></tr></thead> <tbody><tr><td>pair</td> <td><code>KeyringPair</code></td></tr> <tr><td>password</td> <td><code>string</code></td></tr></tbody></table> <p><strong>Returns:</strong> <code>KeyringPair$Json</code></p> <hr> <p><a id="createaccount"></a></p> <h2 id="createaccount"><a href="#createaccount" aria-hidden="true" class="header-anchor">#</a> createAccount</h2> <p>▸ <strong>createAccount</strong>(seed: <em><code>Uint8Array</code></em>, password?: <em><code>undefined</code> | <code>string</code></em>, meta?: <em><code>KeyringPair$Meta</code></em>): <code>KeyringPair</code></p> <p><em>Defined in <a href="https://github.com/polkadot-js/ui/blob/0dbdc7e/packages/ui-keyring/src/Keyring.ts#L39" target="_blank" rel="noopener noreferrer">Keyring.ts:39<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></em></p> <p><strong>Parameters:</strong></p> <table><thead><tr><th>Name</th> <th>Type</th> <th>Default value</th></tr></thead> <tbody><tr><td>seed</td> <td><code>Uint8Array</code></td> <td>-</td></tr> <tr><td><code>Optional</code> password</td> <td><code>undefined</code> | <code>string</code></td> <td>-</td></tr> <tr><td><code>Default value</code> meta</td> <td><code>KeyringPair$Meta</code></td> <td>{}</td></tr></tbody></table> <p><strong>Returns:</strong> <code>KeyringPair</code></p> <hr> <p><a id="createaccountexternal"></a></p> <h2 id="createaccountexternal"><a href="#createaccountexternal" aria-hidden="true" class="header-anchor">#</a> createAccountExternal</h2> <p>▸ <strong>createAccountExternal</strong>(publicKey: <em><code>Uint8Array</code></em>, meta?: <em><code>KeyringPair$Meta</code></em>): <code>KeyringPair</code></p> <p><em>Defined in <a href="https://github.com/polkadot-js/ui/blob/0dbdc7e/packages/ui-keyring/src/Keyring.ts#L47" target="_blank" rel="noopener noreferrer">Keyring.ts:47<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></em></p> <p><strong>Parameters:</strong></p> <table><thead><tr><th>Name</th> <th>Type</th> <th>Default value</th></tr></thead> <tbody><tr><td>publicKey</td> <td><code>Uint8Array</code></td> <td>-</td></tr> <tr><td><code>Default value</code> meta</td> <td><code>KeyringPair$Meta</code></td> <td>{}</td></tr></tbody></table> <p><strong>Returns:</strong> <code>KeyringPair</code></p> <hr> <p><a id="createaccountmnemonic"></a></p> <h2 id="createaccountmnemonic"><a href="#createaccountmnemonic" aria-hidden="true" class="header-anchor">#</a> createAccountMnemonic</h2> <p>▸ <strong>createAccountMnemonic</strong>(seed: <em><code>string</code></em>, password?: <em><code>undefined</code> | <code>string</code></em>, meta?: <em><code>KeyringPair$Meta</code></em>): <code>KeyringPair</code></p> <p><em>Defined in <a href="https://github.com/polkadot-js/ui/blob/0dbdc7e/packages/ui-keyring/src/Keyring.ts#L55" target="_blank" rel="noopener noreferrer">Keyring.ts:55<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></em></p> <p><strong>Parameters:</strong></p> <table><thead><tr><th>Name</th> <th>Type</th> <th>Default value</th></tr></thead> <tbody><tr><td>seed</td> <td><code>string</code></td> <td>-</td></tr> <tr><td><code>Optional</code> password</td> <td><code>undefined</code> | <code>string</code></td> <td>-</td></tr> <tr><td><code>Default value</code> meta</td> <td><code>KeyringPair$Meta</code></td> <td>{}</td></tr></tbody></table> <p><strong>Returns:</strong> <code>KeyringPair</code></p> <hr> <p><a id="decodeaddress"></a></p> <h2 id="decodeaddress"><a href="#decodeaddress" aria-hidden="true" class="header-anchor">#</a> decodeAddress</h2> <p>▸ <strong>decodeAddress</strong>(key: <em><code>string</code> | <code>Uint8Array</code></em>): <code>Uint8Array</code></p> <p><em>Inherited from <a href="/ui/ui-keyring/classes/_base_.base.html">Base</a>.<a href="/ui/ui-keyring/classes/_base_.base.html#decodeaddress">decodeAddress</a></em></p> <p><em>Defined in <a href="https://github.com/polkadot-js/ui/blob/0dbdc7e/packages/ui-keyring/src/Base.ts#L46" target="_blank" rel="noopener noreferrer">Base.ts:46<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></em></p> <p><strong>Parameters:</strong></p> <table><thead><tr><th>Name</th> <th>Type</th></tr></thead> <tbody><tr><td>key</td> <td><code>string</code> | <code>Uint8Array</code></td></tr></tbody></table> <p><strong>Returns:</strong> <code>Uint8Array</code></p> <hr> <p><a id="encodeaddress"></a></p> <h2 id="encodeaddress"><a href="#encodeaddress" aria-hidden="true" class="header-anchor">#</a> encodeAddress</h2> <p>▸ <strong>encodeAddress</strong>(key: <em><code>string</code> | <code>Uint8Array</code></em>): <code>string</code></p> <p><em>Inherited from <a href="/ui/ui-keyring/classes/_base_.base.html">Base</a>.<a href="/ui/ui-keyring/classes/_base_.base.html#encodeaddress">encodeAddress</a></em></p> <p><em>Defined in <a href="https://github.com/polkadot-js/ui/blob/0dbdc7e/packages/ui-keyring/src/Base.ts#L50" target="_blank" rel="noopener noreferrer">Base.ts:50<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></em></p> <p><strong>Parameters:</strong></p> <table><thead><tr><th>Name</th> <th>Type</th></tr></thead> <tbody><tr><td>key</td> <td><code>string</code> | <code>Uint8Array</code></td></tr></tbody></table> <p><strong>Returns:</strong> <code>string</code></p> <hr> <p><a id="encryptaccount"></a></p> <h2 id="encryptaccount"><a href="#encryptaccount" aria-hidden="true" class="header-anchor">#</a> encryptAccount</h2> <p>▸ <strong>encryptAccount</strong>(pair: <em><code>KeyringPair</code></em>, password: <em><code>string</code></em>): <code>void</code></p> <p><em>Defined in <a href="https://github.com/polkadot-js/ui/blob/0dbdc7e/packages/ui-keyring/src/Keyring.ts#L63" target="_blank" rel="noopener noreferrer">Keyring.ts:63<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></em></p> <p><strong>Parameters:</strong></p> <table><thead><tr><th>Name</th> <th>Type</th></tr></thead> <tbody><tr><td>pair</td> <td><code>KeyringPair</code></td></tr> <tr><td>password</td> <td><code>string</code></td></tr></tbody></table> <p><strong>Returns:</strong> <code>void</code></p> <hr> <p><a id="forgetaccount"></a></p> <h2 id="forgetaccount"><a href="#forgetaccount" aria-hidden="true" class="header-anchor">#</a> forgetAccount</h2> <p>▸ <strong>forgetAccount</strong>(address: <em><code>string</code></em>): <code>void</code></p> <p><em>Defined in <a href="https://github.com/polkadot-js/ui/blob/0dbdc7e/packages/ui-keyring/src/Keyring.ts#L72" target="_blank" rel="noopener noreferrer">Keyring.ts:72<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></em></p> <p><strong>Parameters:</strong></p> <table><thead><tr><th>Name</th> <th>Type</th></tr></thead> <tbody><tr><td>address</td> <td><code>string</code></td></tr></tbody></table> <p><strong>Returns:</strong> <code>void</code></p> <hr> <p><a id="forgetaddress"></a></p> <h2 id="forgetaddress"><a href="#forgetaddress" aria-hidden="true" class="header-anchor">#</a> forgetAddress</h2> <p>▸ <strong>forgetAddress</strong>(address: <em><code>string</code></em>): <code>void</code></p> <p><em>Defined in <a href="https://github.com/polkadot-js/ui/blob/0dbdc7e/packages/ui-keyring/src/Keyring.ts#L77" target="_blank" rel="noopener noreferrer">Keyring.ts:77<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></em></p> <p><strong>Parameters:</strong></p> <table><thead><tr><th>Name</th> <th>Type</th></tr></thead> <tbody><tr><td>address</td> <td><code>string</code></td></tr></tbody></table> <p><strong>Returns:</strong> <code>void</code></p> <hr> <p><a id="getaccount"></a></p> <h2 id="getaccount"><a href="#getaccount" aria-hidden="true" class="header-anchor">#</a> getAccount</h2> <p>▸ <strong>getAccount</strong>(address: <em><code>string</code> | <code>Uint8Array</code></em>): <a href="/ui/ui-keyring/modules/_types_.html#keyringaddress">KeyringAddress</a></p> <p><em>Defined in <a href="https://github.com/polkadot-js/ui/blob/0dbdc7e/packages/ui-keyring/src/Keyring.ts#L81" target="_blank" rel="noopener noreferrer">Keyring.ts:81<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></em></p> <p><strong>Parameters:</strong></p> <table><thead><tr><th>Name</th> <th>Type</th></tr></thead> <tbody><tr><td>address</td> <td><code>string</code> | <code>Uint8Array</code></td></tr></tbody></table> <p><strong>Returns:</strong> <a href="/ui/ui-keyring/modules/_types_.html#keyringaddress">KeyringAddress</a></p> <hr> <p><a id="getaccounts"></a></p> <h2 id="getaccounts"><a href="#getaccounts" aria-hidden="true" class="header-anchor">#</a> getAccounts</h2> <p>▸ <strong>getAccounts</strong>(): <code>Array</code><<a href="/ui/ui-keyring/modules/_types_.html#keyringaddress">KeyringAddress</a>></p> <p><em>Defined in <a href="https://github.com/polkadot-js/ui/blob/0dbdc7e/packages/ui-keyring/src/Keyring.ts#L85" target="_blank" rel="noopener noreferrer">Keyring.ts:85<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></em></p> <p><strong>Returns:</strong> <code>Array</code><<a href="/ui/ui-keyring/modules/_types_.html#keyringaddress">KeyringAddress</a>></p> <hr> <p><a id="getaddress"></a></p> <h2 id="getaddress"><a href="#getaddress" aria-hidden="true" class="header-anchor">#</a> getAddress</h2> <p>▸ <strong>getAddress</strong>(_address: <em><code>string</code> | <code>Uint8Array</code></em>, type?: <em>"account" | "address"</em>): <a href="/ui/ui-keyring/modules/_types_.html#keyringaddress">KeyringAddress</a></p> <p><em>Defined in <a href="https://github.com/polkadot-js/ui/blob/0dbdc7e/packages/ui-keyring/src/Keyring.ts#L94" target="_blank" rel="noopener noreferrer">Keyring.ts:94<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></em></p> <p><strong>Parameters:</strong></p> <table><thead><tr><th>Name</th> <th>Type</th> <th>Default value</th></tr></thead> <tbody><tr><td>_address</td> <td><code>string</code> | <code>Uint8Array</code></td> <td>-</td></tr> <tr><td><code>Default value</code> type</td> <td>"account" | "address"</td> <td>"address"</td></tr></tbody></table> <p><strong>Returns:</strong> <a href="/ui/ui-keyring/modules/_types_.html#keyringaddress">KeyringAddress</a></p> <hr> <p><a id="getaddresses"></a></p> <h2 id="getaddresses"><a href="#getaddresses" aria-hidden="true" class="header-anchor">#</a> getAddresses</h2> <p>▸ <strong>getAddresses</strong>(): <code>Array</code><<a href="/ui/ui-keyring/modules/_types_.html#keyringaddress">KeyringAddress</a>></p> <p><em>Defined in <a href="https://github.com/polkadot-js/ui/blob/0dbdc7e/packages/ui-keyring/src/Keyring.ts#L115" target="_blank" rel="noopener noreferrer">Keyring.ts:115<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></em></p> <p><strong>Returns:</strong> <code>Array</code><<a href="/ui/ui-keyring/modules/_types_.html#keyringaddress">KeyringAddress</a>></p> <hr> <p><a id="getpair"></a></p> <h2 id="getpair"><a href="#getpair" aria-hidden="true" class="header-anchor">#</a> getPair</h2> <p>▸ <strong>getPair</strong>(address: <em><code>string</code> | <code>Uint8Array</code></em>): <code>KeyringPair</code></p> <p><em>Inherited from <a href="/ui/ui-keyring/classes/_base_.base.html">Base</a>.<a href="/ui/ui-keyring/classes/_base_.base.html#getpair">getPair</a></em></p> <p><em>Defined in <a href="https://github.com/polkadot-js/ui/blob/0dbdc7e/packages/ui-keyring/src/Base.ts#L54" target="_blank" rel="noopener noreferrer">Base.ts:54<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></em></p> <p><strong>Parameters:</strong></p> <table><thead><tr><th>Name</th> <th>Type</th></tr></thead> <tbody><tr><td>address</td> <td><code>string</code> | <code>Uint8Array</code></td></tr></tbody></table> <p><strong>Returns:</strong> <code>KeyringPair</code></p> <hr> <p><a id="getpairs"></a></p> <h2 id="getpairs"><a href="#getpairs" aria-hidden="true" class="header-anchor">#</a> getPairs</h2> <p>▸ <strong>getPairs</strong>(): <code>Array</code><<code>KeyringPair</code>></p> <p><em>Inherited from <a href="/ui/ui-keyring/classes/_base_.base.html">Base</a>.<a href="/ui/ui-keyring/classes/_base_.base.html#getpairs">getPairs</a></em></p> <p><em>Defined in <a href="https://github.com/polkadot-js/ui/blob/0dbdc7e/packages/ui-keyring/src/Base.ts#L58" target="_blank" rel="noopener noreferrer">Base.ts:58<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></em></p> <p><strong>Returns:</strong> <code>Array</code><<code>KeyringPair</code>></p> <hr> <p><a id="isavailable"></a></p> <h2 id="isavailable"><a href="#isavailable" aria-hidden="true" class="header-anchor">#</a> isAvailable</h2> <p>▸ <strong>isAvailable</strong>(_address: <em><code>Uint8Array</code> | <code>string</code></em>): <code>boolean</code></p> <p><em>Inherited from <a href="/ui/ui-keyring/classes/_base_.base.html">Base</a>.<a href="/ui/ui-keyring/classes/_base_.base.html#isavailable">isAvailable</a></em></p> <p><em>Defined in <a href="https://github.com/polkadot-js/ui/blob/0dbdc7e/packages/ui-keyring/src/Base.ts#L64" target="_blank" rel="noopener noreferrer">Base.ts:64<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></em></p> <p><strong>Parameters:</strong></p> <table><thead><tr><th>Name</th> <th>Type</th></tr></thead> <tbody><tr><td>_address</td> <td><code>Uint8Array</code> | <code>string</code></td></tr></tbody></table> <p><strong>Returns:</strong> <code>boolean</code></p> <hr> <p><a id="ispassvalid"></a></p> <h2 id="ispassvalid"><a href="#ispassvalid" aria-hidden="true" class="header-anchor">#</a> isPassValid</h2> <p>▸ <strong>isPassValid</strong>(password: <em><code>string</code></em>): <code>boolean</code></p> <p><em>Inherited from <a href="/ui/ui-keyring/classes/_base_.base.html">Base</a>.<a href="/ui/ui-keyring/classes/_base_.base.html#ispassvalid">isPassValid</a></em></p> <p><em>Defined in <a href="https://github.com/polkadot-js/ui/blob/0dbdc7e/packages/ui-keyring/src/Base.ts#L74" target="_blank" rel="noopener noreferrer">Base.ts:74<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></em></p> <p><strong>Parameters:</strong></p> <table><thead><tr><th>Name</th> <th>Type</th></tr></thead> <tbody><tr><td>password</td> <td><code>string</code></td></tr></tbody></table> <p><strong>Returns:</strong> <code>boolean</code></p> <hr> <p><a id="loadall"></a></p> <h2 id="loadall"><a href="#loadall" aria-hidden="true" class="header-anchor">#</a> loadAll</h2> <p>▸ <strong>loadAll</strong>(options: <em><a href="/ui/ui-keyring/modules/_types_.html#keyringoptions">KeyringOptions</a></em>): <code>void</code></p> <p><em>Defined in <a href="https://github.com/polkadot-js/ui/blob/0dbdc7e/packages/ui-keyring/src/Keyring.ts#L156" target="_blank" rel="noopener noreferrer">Keyring.ts:156<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></em></p> <p><strong>Parameters:</strong></p> <table><thead><tr><th>Name</th> <th>Type</th></tr></thead> <tbody><tr><td>options</td> <td><a href="/ui/ui-keyring/modules/_types_.html#keyringoptions">KeyringOptions</a></td></tr></tbody></table> <p><strong>Returns:</strong> <code>void</code></p> <hr> <p><a id="restoreaccount"></a></p> <h2 id="restoreaccount"><a href="#restoreaccount" aria-hidden="true" class="header-anchor">#</a> restoreAccount</h2> <p>▸ <strong>restoreAccount</strong>(json: <em><code>KeyringPair$Json</code></em>, password: <em><code>string</code></em>): <code>KeyringPair</code></p> <p><em>Defined in <a href="https://github.com/polkadot-js/ui/blob/0dbdc7e/packages/ui-keyring/src/Keyring.ts#L170" target="_blank" rel="noopener noreferrer">Keyring.ts:170<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></em></p> <p><strong>Parameters:</strong></p> <table><thead><tr><th>Name</th> <th>Type</th></tr></thead> <tbody><tr><td>json</td> <td><code>KeyringPair$Json</code></td></tr> <tr><td>password</td> <td><code>string</code></td></tr></tbody></table> <p><strong>Returns:</strong> <code>KeyringPair</code></p> <hr> <p><a id="saveaccount"></a></p> <h2 id="saveaccount"><a href="#saveaccount" aria-hidden="true" class="header-anchor">#</a> saveAccount</h2> <p>▸ <strong>saveAccount</strong>(pair: <em><code>KeyringPair</code></em>, password?: <em><code>undefined</code> | <code>string</code></em>): <code>void</code></p> <p><em>Defined in <a href="https://github.com/polkadot-js/ui/blob/0dbdc7e/packages/ui-keyring/src/Keyring.ts#L188" target="_blank" rel="noopener noreferrer">Keyring.ts:188<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></em></p> <p><strong>Parameters:</strong></p> <table><thead><tr><th>Name</th> <th>Type</th></tr></thead> <tbody><tr><td>pair</td> <td><code>KeyringPair</code></td></tr> <tr><td><code>Optional</code> password</td> <td><code>undefined</code> | <code>string</code></td></tr></tbody></table> <p><strong>Returns:</strong> <code>void</code></p> <hr> <p><a id="saveaccountmeta"></a></p> <h2 id="saveaccountmeta"><a href="#saveaccountmeta" aria-hidden="true" class="header-anchor">#</a> saveAccountMeta</h2> <p>▸ <strong>saveAccountMeta</strong>(pair: <em><code>KeyringPair</code></em>, meta: <em><code>KeyringPair$Meta</code></em>): <code>void</code></p> <p><em>Defined in <a href="https://github.com/polkadot-js/ui/blob/0dbdc7e/packages/ui-keyring/src/Keyring.ts#L197" target="_blank" rel="noopener noreferrer">Keyring.ts:197<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></em></p> <p><strong>Parameters:</strong></p> <table><thead><tr><th>Name</th> <th>Type</th></tr></thead> <tbody><tr><td>pair</td> <td><code>KeyringPair</code></td></tr> <tr><td>meta</td> <td><code>KeyringPair$Meta</code></td></tr></tbody></table> <p><strong>Returns:</strong> <code>void</code></p> <hr> <p><a id="saveaddress"></a></p> <h2 id="saveaddress"><a href="#saveaddress" aria-hidden="true" class="header-anchor">#</a> saveAddress</h2> <p>▸ <strong>saveAddress</strong>(address: <em><code>string</code></em>, meta: <em><code>KeyringPair$Meta</code></em>): <code>void</code></p> <p><em>Defined in <a href="https://github.com/polkadot-js/ui/blob/0dbdc7e/packages/ui-keyring/src/Keyring.ts#L207" target="_blank" rel="noopener noreferrer">Keyring.ts:207<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></em></p> <p><strong>Parameters:</strong></p> <table><thead><tr><th>Name</th> <th>Type</th></tr></thead> <tbody><tr><td>address</td> <td><code>string</code></td></tr> <tr><td>meta</td> <td><code>KeyringPair$Meta</code></td></tr></tbody></table> <p><strong>Returns:</strong> <code>void</code></p> <hr> <p><a id="saverecent"></a></p> <h2 id="saverecent"><a href="#saverecent" aria-hidden="true" class="header-anchor">#</a> saveRecent</h2> <p>▸ <strong>saveRecent</strong>(address: <em><code>string</code></em>): <a href="/ui/ui-keyring/modules/_observable_types_.html#singleaddress">SingleAddress</a></p> <p><em>Defined in <a href="https://github.com/polkadot-js/ui/blob/0dbdc7e/packages/ui-keyring/src/Keyring.ts#L227" target="_blank" rel="noopener noreferrer">Keyring.ts:227<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></em></p> <p><strong>Parameters:</strong></p> <table><thead><tr><th>Name</th> <th>Type</th></tr></thead> <tbody><tr><td>address</td> <td><code>string</code></td></tr></tbody></table> <p><strong>Returns:</strong> <a href="/ui/ui-keyring/modules/_observable_types_.html#singleaddress">SingleAddress</a></p> <hr> <p><a id="setaddressprefix"></a></p> <h2 id="setaddressprefix"><a href="#setaddressprefix" aria-hidden="true" class="header-anchor">#</a> setAddressPrefix</h2> <p>▸ <strong>setAddressPrefix</strong>(prefix: <em><code>number</code></em>): <code>void</code></p> <p><em>Inherited from <a href="/ui/ui-keyring/classes/_base_.base.html">Base</a>.<a href="/ui/ui-keyring/classes/_base_.base.html#setaddressprefix">setAddressPrefix</a></em></p> <p><em>Defined in <a href="https://github.com/polkadot-js/ui/blob/0dbdc7e/packages/ui-keyring/src/Base.ts#L78" target="_blank" rel="noopener noreferrer">Base.ts:78<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></em></p> <p><strong>Parameters:</strong></p> <table><thead><tr><th>Name</th> <th>Type</th></tr></thead> <tbody><tr><td>prefix</td> <td><code>number</code></td></tr></tbody></table> <p><strong>Returns:</strong> <code>void</code></p> <hr> <p><a id="setdevmode"></a></p> <h2 id="setdevmode"><a href="#setdevmode" aria-hidden="true" class="header-anchor">#</a> setDevMode</h2> <p>▸ <strong>setDevMode</strong>(isDevelopment: <em><code>boolean</code></em>): <code>void</code></p> <p><em>Inherited from <a href="/ui/ui-keyring/classes/_base_.base.html">Base</a>.<a href="/ui/ui-keyring/classes/_base_.base.html#setdevmode">setDevMode</a></em></p> <p><em>Defined in <a href="https://github.com/polkadot-js/ui/blob/0dbdc7e/packages/ui-keyring/src/Base.ts#L82" target="_blank" rel="noopener noreferrer">Base.ts:82<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></em></p> <p><strong>Parameters:</strong></p> <table><thead><tr><th>Name</th> <th>Type</th></tr></thead> <tbody><tr><td>isDevelopment</td> <td><code>boolean</code></td></tr></tbody></table> <p><strong>Returns:</strong> <code>void</code></p> <hr></div> <footer class="page-edit"><!----> <div class="last-updated"><span class="prefix">Last Updated: </span> <span class="time">2/27/2019, 10:22:45 AM</span></div></footer> <!----> </main></div><div class="global-ui"></div></div>
|
|
<script src="/ui/assets/js/app.1aabc8af.js" defer></script><script src="/ui/assets/js/2.6d27345c.js" defer></script><script src="/ui/assets/js/38.8f174f10.js" defer></script>
|
|
</body>
|
|
</html>
|