1 line
19 KiB
JavaScript
1 line
19 KiB
JavaScript
(window.webpackJsonp=window.webpackJsonp||[]).push([[58],{388:function(r,e,t){"use strict";t.r(e);var a=t(37),_=Object(a.a)({},function(){var r=this,e=r.$createElement,t=r._self._c||e;return t("ContentSlotsDistributor",{attrs:{"slot-key":r.$parent.slotKey}},[t("h1",{attrs:{id:"hierarchy"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#hierarchy","aria-hidden":"true"}},[r._v("#")]),r._v(" Hierarchy")]),r._v(" "),t("p",[t("strong",[r._v("KeyringInstance")])]),r._v(" "),t("h1",{attrs:{id:"properties"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#properties","aria-hidden":"true"}},[r._v("#")]),r._v(" Properties")]),r._v(" "),t("p",[t("a",{attrs:{id:"pairs"}})]),r._v(" "),t("h2",{attrs:{id:"pairs"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#pairs","aria-hidden":"true"}},[r._v("#")]),r._v(" pairs")]),r._v(" "),t("p",[t("strong",[r._v("● pairs")]),r._v(": "),t("em",[t("code",[r._v("Array")]),r._v("<"),t("router-link",{attrs:{to:"/keyring/interfaces/_types_.keyringpair.html"}},[r._v("KeyringPair")]),r._v(">")],1)]),r._v(" "),t("p",[t("em",[r._v("Defined in "),t("a",{attrs:{href:"https://github.com/polkadot-js/common/blob/db4b221/packages/keyring/src/types.ts#L58",target:"_blank",rel:"noopener noreferrer"}},[r._v("types.ts:58"),t("OutboundLink")],1)])]),r._v(" "),t("hr"),r._v(" "),t("p",[t("a",{attrs:{id:"publickeys"}})]),r._v(" "),t("h2",{attrs:{id:"publickeys"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#publickeys","aria-hidden":"true"}},[r._v("#")]),r._v(" publicKeys")]),r._v(" "),t("p",[t("strong",[r._v("● publicKeys")]),r._v(": "),t("em",[t("code",[r._v("Array")]),r._v("<"),t("code",[r._v("Uint8Array")]),r._v(">")])]),r._v(" "),t("p",[t("em",[r._v("Defined in "),t("a",{attrs:{href:"https://github.com/polkadot-js/common/blob/db4b221/packages/keyring/src/types.ts#L59",target:"_blank",rel:"noopener noreferrer"}},[r._v("types.ts:59"),t("OutboundLink")],1)])]),r._v(" "),t("hr"),r._v(" "),t("p",[t("a",{attrs:{id:"type"}})]),r._v(" "),t("h2",{attrs:{id:"type"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#type","aria-hidden":"true"}},[r._v("#")]),r._v(" type")]),r._v(" "),t("p",[t("strong",[r._v("● type")]),r._v(": "),t("em",[t("router-link",{attrs:{to:"/keyring/modules/_types_.html#keyringpairtype"}},[r._v("KeyringPairType")])],1)]),r._v(" "),t("p",[t("em",[r._v("Defined in "),t("a",{attrs:{href:"https://github.com/polkadot-js/common/blob/db4b221/packages/keyring/src/types.ts#L60",target:"_blank",rel:"noopener noreferrer"}},[r._v("types.ts:60"),t("OutboundLink")],1)])]),r._v(" "),t("hr"),r._v(" "),t("h1",{attrs:{id:"methods"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#methods","aria-hidden":"true"}},[r._v("#")]),r._v(" Methods")]),r._v(" "),t("p",[t("a",{attrs:{id:"addfromaddress"}})]),r._v(" "),t("h2",{attrs:{id:"addfromaddress"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#addfromaddress","aria-hidden":"true"}},[r._v("#")]),r._v(" addFromAddress")]),r._v(" "),t("p",[r._v("▸ "),t("strong",[r._v("addFromAddress")]),r._v("(address: "),t("em",[t("code",[r._v("string")]),r._v(" | "),t("code",[r._v("Uint8Array")])]),r._v(", meta?: "),t("em",[t("router-link",{attrs:{to:"/keyring/modules/_types_.html#keyringpair_meta"}},[r._v("KeyringPair$Meta")])],1),r._v(", encoded?: "),t("em",[t("code",[r._v("Uint8Array")]),r._v(" | "),t("code",[r._v("null")])]),r._v(", type?: "),t("em",[t("router-link",{attrs:{to:"/keyring/modules/_types_.html#keyringpairtype"}},[r._v("KeyringPairType")])],1),r._v("): "),t("router-link",{attrs:{to:"/keyring/interfaces/_types_.keyringpair.html"}},[r._v("KeyringPair")])],1),r._v(" "),t("p",[t("em",[r._v("Defined in "),t("a",{attrs:{href:"https://github.com/polkadot-js/common/blob/db4b221/packages/keyring/src/types.ts#L67",target:"_blank",rel:"noopener noreferrer"}},[r._v("types.ts:67"),t("OutboundLink")],1)])]),r._v(" "),t("p",[t("strong",[r._v("Parameters:")])]),r._v(" "),t("table",[t("thead",[t("tr",[t("th",[r._v("Name")]),r._v(" "),t("th",[r._v("Type")])])]),r._v(" "),t("tbody",[t("tr",[t("td",[r._v("address")]),r._v(" "),t("td",[t("code",[r._v("string")]),r._v(" | "),t("code",[r._v("Uint8Array")])])]),r._v(" "),t("tr",[t("td",[t("code",[r._v("Optional")]),r._v(" meta")]),r._v(" "),t("td",[t("router-link",{attrs:{to:"/keyring/modules/_types_.html#keyringpair_meta"}},[r._v("KeyringPair$Meta")])],1)]),r._v(" "),t("tr",[t("td",[t("code",[r._v("Optional")]),r._v(" encoded")]),r._v(" "),t("td",[t("code",[r._v("Uint8Array")]),r._v(" | "),t("code",[r._v("null")])])]),r._v(" "),t("tr",[t("td",[t("code",[r._v("Optional")]),r._v(" type")]),r._v(" "),t("td",[t("router-link",{attrs:{to:"/keyring/modules/_types_.html#keyringpairtype"}},[r._v("KeyringPairType")])],1)])])]),r._v(" "),t("p",[t("strong",[r._v("Returns:")]),r._v(" "),t("router-link",{attrs:{to:"/keyring/interfaces/_types_.keyringpair.html"}},[r._v("KeyringPair")])],1),r._v(" "),t("hr"),r._v(" "),t("p",[t("a",{attrs:{id:"addfromjson"}})]),r._v(" "),t("h2",{attrs:{id:"addfromjson"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#addfromjson","aria-hidden":"true"}},[r._v("#")]),r._v(" addFromJson")]),r._v(" "),t("p",[r._v("▸ "),t("strong",[r._v("addFromJson")]),r._v("(pair: "),t("em",[t("router-link",{attrs:{to:"/keyring/modules/_types_.html#keyringpair_json"}},[r._v("KeyringPair$Json")])],1),r._v("): "),t("router-link",{attrs:{to:"/keyring/interfaces/_types_.keyringpair.html"}},[r._v("KeyringPair")])],1),r._v(" "),t("p",[t("em",[r._v("Defined in "),t("a",{attrs:{href:"https://github.com/polkadot-js/common/blob/db4b221/packages/keyring/src/types.ts#L70",target:"_blank",rel:"noopener noreferrer"}},[r._v("types.ts:70"),t("OutboundLink")],1)])]),r._v(" "),t("p",[t("strong",[r._v("Parameters:")])]),r._v(" "),t("table",[t("thead",[t("tr",[t("th",[r._v("Name")]),r._v(" "),t("th",[r._v("Type")])])]),r._v(" "),t("tbody",[t("tr",[t("td",[r._v("pair")]),r._v(" "),t("td",[t("router-link",{attrs:{to:"/keyring/modules/_types_.html#keyringpair_json"}},[r._v("KeyringPair$Json")])],1)])])]),r._v(" "),t("p",[t("strong",[r._v("Returns:")]),r._v(" "),t("router-link",{attrs:{to:"/keyring/interfaces/_types_.keyringpair.html"}},[r._v("KeyringPair")])],1),r._v(" "),t("hr"),r._v(" "),t("p",[t("a",{attrs:{id:"addfrommnemonic"}})]),r._v(" "),t("h2",{attrs:{id:"addfrommnemonic"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#addfrommnemonic","aria-hidden":"true"}},[r._v("#")]),r._v(" addFromMnemonic")]),r._v(" "),t("p",[r._v("▸ "),t("strong",[r._v("addFromMnemonic")]),r._v("(mnemonic: "),t("em",[t("code",[r._v("string")])]),r._v(", meta?: "),t("em",[t("router-link",{attrs:{to:"/keyring/modules/_types_.html#keyringpair_meta"}},[r._v("KeyringPair$Meta")])],1),r._v(", type?: "),t("em",[t("router-link",{attrs:{to:"/keyring/modules/_types_.html#keyringpairtype"}},[r._v("KeyringPairType")])],1),r._v("): "),t("router-link",{attrs:{to:"/keyring/interfaces/_types_.keyringpair.html"}},[r._v("KeyringPair")])],1),r._v(" "),t("p",[t("em",[r._v("Defined in "),t("a",{attrs:{href:"https://github.com/polkadot-js/common/blob/db4b221/packages/keyring/src/types.ts#L68",target:"_blank",rel:"noopener noreferrer"}},[r._v("types.ts:68"),t("OutboundLink")],1)])]),r._v(" "),t("p",[t("strong",[r._v("Parameters:")])]),r._v(" "),t("table",[t("thead",[t("tr",[t("th",[r._v("Name")]),r._v(" "),t("th",[r._v("Type")])])]),r._v(" "),t("tbody",[t("tr",[t("td",[r._v("mnemonic")]),r._v(" "),t("td",[t("code",[r._v("string")])])]),r._v(" "),t("tr",[t("td",[t("code",[r._v("Optional")]),r._v(" meta")]),r._v(" "),t("td",[t("router-link",{attrs:{to:"/keyring/modules/_types_.html#keyringpair_meta"}},[r._v("KeyringPair$Meta")])],1)]),r._v(" "),t("tr",[t("td",[t("code",[r._v("Optional")]),r._v(" type")]),r._v(" "),t("td",[t("router-link",{attrs:{to:"/keyring/modules/_types_.html#keyringpairtype"}},[r._v("KeyringPairType")])],1)])])]),r._v(" "),t("p",[t("strong",[r._v("Returns:")]),r._v(" "),t("router-link",{attrs:{to:"/keyring/interfaces/_types_.keyringpair.html"}},[r._v("KeyringPair")])],1),r._v(" "),t("hr"),r._v(" "),t("p",[t("a",{attrs:{id:"addfromseed"}})]),r._v(" "),t("h2",{attrs:{id:"addfromseed"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#addfromseed","aria-hidden":"true"}},[r._v("#")]),r._v(" addFromSeed")]),r._v(" "),t("p",[r._v("▸ "),t("strong",[r._v("addFromSeed")]),r._v("(seed: "),t("em",[t("code",[r._v("Uint8Array")])]),r._v(", meta?: "),t("em",[t("router-link",{attrs:{to:"/keyring/modules/_types_.html#keyringpair_meta"}},[r._v("KeyringPair$Meta")])],1),r._v(", type?: "),t("em",[t("router-link",{attrs:{to:"/keyring/modules/_types_.html#keyringpairtype"}},[r._v("KeyringPairType")])],1),r._v("): "),t("router-link",{attrs:{to:"/keyring/interfaces/_types_.keyringpair.html"}},[r._v("KeyringPair")])],1),r._v(" "),t("p",[t("em",[r._v("Defined in "),t("a",{attrs:{href:"https://github.com/polkadot-js/common/blob/db4b221/packages/keyring/src/types.ts#L69",target:"_blank",rel:"noopener noreferrer"}},[r._v("types.ts:69"),t("OutboundLink")],1)])]),r._v(" "),t("p",[t("strong",[r._v("Parameters:")])]),r._v(" "),t("table",[t("thead",[t("tr",[t("th",[r._v("Name")]),r._v(" "),t("th",[r._v("Type")])])]),r._v(" "),t("tbody",[t("tr",[t("td",[r._v("seed")]),r._v(" "),t("td",[t("code",[r._v("Uint8Array")])])]),r._v(" "),t("tr",[t("td",[t("code",[r._v("Optional")]),r._v(" meta")]),r._v(" "),t("td",[t("router-link",{attrs:{to:"/keyring/modules/_types_.html#keyringpair_meta"}},[r._v("KeyringPair$Meta")])],1)]),r._v(" "),t("tr",[t("td",[t("code",[r._v("Optional")]),r._v(" type")]),r._v(" "),t("td",[t("router-link",{attrs:{to:"/keyring/modules/_types_.html#keyringpairtype"}},[r._v("KeyringPairType")])],1)])])]),r._v(" "),t("p",[t("strong",[r._v("Returns:")]),r._v(" "),t("router-link",{attrs:{to:"/keyring/interfaces/_types_.keyringpair.html"}},[r._v("KeyringPair")])],1),r._v(" "),t("hr"),r._v(" "),t("p",[t("a",{attrs:{id:"addpair"}})]),r._v(" "),t("h2",{attrs:{id:"addpair"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#addpair","aria-hidden":"true"}},[r._v("#")]),r._v(" addPair")]),r._v(" "),t("p",[r._v("▸ "),t("strong",[r._v("addPair")]),r._v("(pair: "),t("em",[t("router-link",{attrs:{to:"/keyring/interfaces/_types_.keyringpair.html"}},[r._v("KeyringPair")])],1),r._v("): "),t("router-link",{attrs:{to:"/keyring/interfaces/_types_.keyringpair.html"}},[r._v("KeyringPair")])],1),r._v(" "),t("p",[t("em",[r._v("Defined in "),t("a",{attrs:{href:"https://github.com/polkadot-js/common/blob/db4b221/packages/keyring/src/types.ts#L66",target:"_blank",rel:"noopener noreferrer"}},[r._v("types.ts:66"),t("OutboundLink")],1)])]),r._v(" "),t("p",[t("strong",[r._v("Parameters:")])]),r._v(" "),t("table",[t("thead",[t("tr",[t("th",[r._v("Name")]),r._v(" "),t("th",[r._v("Type")])])]),r._v(" "),t("tbody",[t("tr",[t("td",[r._v("pair")]),r._v(" "),t("td",[t("router-link",{attrs:{to:"/keyring/interfaces/_types_.keyringpair.html"}},[r._v("KeyringPair")])],1)])])]),r._v(" "),t("p",[t("strong",[r._v("Returns:")]),r._v(" "),t("router-link",{attrs:{to:"/keyring/interfaces/_types_.keyringpair.html"}},[r._v("KeyringPair")])],1),r._v(" "),t("hr"),r._v(" "),t("p",[t("a",{attrs:{id:"decodeaddress"}})]),r._v(" "),t("h2",{attrs:{id:"decodeaddress"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#decodeaddress","aria-hidden":"true"}},[r._v("#")]),r._v(" decodeAddress")]),r._v(" "),t("p",[r._v("▸ "),t("strong",[r._v("decodeAddress")]),r._v("(encoded: "),t("em",[t("code",[r._v("string")]),r._v(" | "),t("code",[r._v("Uint8Array")])]),r._v("): "),t("code",[r._v("Uint8Array")])]),r._v(" "),t("p",[t("em",[r._v("Defined in "),t("a",{attrs:{href:"https://github.com/polkadot-js/common/blob/db4b221/packages/keyring/src/types.ts#L62",target:"_blank",rel:"noopener noreferrer"}},[r._v("types.ts:62"),t("OutboundLink")],1)])]),r._v(" "),t("p",[t("strong",[r._v("Parameters:")])]),r._v(" "),t("table",[t("thead",[t("tr",[t("th",[r._v("Name")]),r._v(" "),t("th",[r._v("Type")])])]),r._v(" "),t("tbody",[t("tr",[t("td",[r._v("encoded")]),r._v(" "),t("td",[t("code",[r._v("string")]),r._v(" | "),t("code",[r._v("Uint8Array")])])])])]),r._v(" "),t("p",[t("strong",[r._v("Returns:")]),r._v(" "),t("code",[r._v("Uint8Array")])]),r._v(" "),t("hr"),r._v(" "),t("p",[t("a",{attrs:{id:"encodeaddress"}})]),r._v(" "),t("h2",{attrs:{id:"encodeaddress"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#encodeaddress","aria-hidden":"true"}},[r._v("#")]),r._v(" encodeAddress")]),r._v(" "),t("p",[r._v("▸ "),t("strong",[r._v("encodeAddress")]),r._v("(key: "),t("em",[t("code",[r._v("Uint8Array")]),r._v(" | "),t("code",[r._v("string")])]),r._v("): "),t("code",[r._v("string")])]),r._v(" "),t("p",[t("em",[r._v("Defined in "),t("a",{attrs:{href:"https://github.com/polkadot-js/common/blob/db4b221/packages/keyring/src/types.ts#L63",target:"_blank",rel:"noopener noreferrer"}},[r._v("types.ts:63"),t("OutboundLink")],1)])]),r._v(" "),t("p",[t("strong",[r._v("Parameters:")])]),r._v(" "),t("table",[t("thead",[t("tr",[t("th",[r._v("Name")]),r._v(" "),t("th",[r._v("Type")])])]),r._v(" "),t("tbody",[t("tr",[t("td",[r._v("key")]),r._v(" "),t("td",[t("code",[r._v("Uint8Array")]),r._v(" | "),t("code",[r._v("string")])])])])]),r._v(" "),t("p",[t("strong",[r._v("Returns:")]),r._v(" "),t("code",[r._v("string")])]),r._v(" "),t("hr"),r._v(" "),t("p",[t("a",{attrs:{id:"getpair"}})]),r._v(" "),t("h2",{attrs:{id:"getpair"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#getpair","aria-hidden":"true"}},[r._v("#")]),r._v(" getPair")]),r._v(" "),t("p",[r._v("▸ "),t("strong",[r._v("getPair")]),r._v("(address: "),t("em",[t("code",[r._v("string")]),r._v(" | "),t("code",[r._v("Uint8Array")])]),r._v("): "),t("router-link",{attrs:{to:"/keyring/interfaces/_types_.keyringpair.html"}},[r._v("KeyringPair")])],1),r._v(" "),t("p",[t("em",[r._v("Defined in "),t("a",{attrs:{href:"https://github.com/polkadot-js/common/blob/db4b221/packages/keyring/src/types.ts#L71",target:"_blank",rel:"noopener noreferrer"}},[r._v("types.ts:71"),t("OutboundLink")],1)])]),r._v(" "),t("p",[t("strong",[r._v("Parameters:")])]),r._v(" "),t("table",[t("thead",[t("tr",[t("th",[r._v("Name")]),r._v(" "),t("th",[r._v("Type")])])]),r._v(" "),t("tbody",[t("tr",[t("td",[r._v("address")]),r._v(" "),t("td",[t("code",[r._v("string")]),r._v(" | "),t("code",[r._v("Uint8Array")])])])])]),r._v(" "),t("p",[t("strong",[r._v("Returns:")]),r._v(" "),t("router-link",{attrs:{to:"/keyring/interfaces/_types_.keyringpair.html"}},[r._v("KeyringPair")])],1),r._v(" "),t("hr"),r._v(" "),t("p",[t("a",{attrs:{id:"getpairs"}})]),r._v(" "),t("h2",{attrs:{id:"getpairs"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#getpairs","aria-hidden":"true"}},[r._v("#")]),r._v(" getPairs")]),r._v(" "),t("p",[r._v("▸ "),t("strong",[r._v("getPairs")]),r._v("(): "),t("code",[r._v("Array")]),r._v("<"),t("router-link",{attrs:{to:"/keyring/interfaces/_types_.keyringpair.html"}},[r._v("KeyringPair")]),r._v(">")],1),r._v(" "),t("p",[t("em",[r._v("Defined in "),t("a",{attrs:{href:"https://github.com/polkadot-js/common/blob/db4b221/packages/keyring/src/types.ts#L72",target:"_blank",rel:"noopener noreferrer"}},[r._v("types.ts:72"),t("OutboundLink")],1)])]),r._v(" "),t("p",[t("strong",[r._v("Returns:")]),r._v(" "),t("code",[r._v("Array")]),r._v("<"),t("router-link",{attrs:{to:"/keyring/interfaces/_types_.keyringpair.html"}},[r._v("KeyringPair")]),r._v(">")],1),r._v(" "),t("hr"),r._v(" "),t("p",[t("a",{attrs:{id:"getpublickeys"}})]),r._v(" "),t("h2",{attrs:{id:"getpublickeys"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#getpublickeys","aria-hidden":"true"}},[r._v("#")]),r._v(" getPublicKeys")]),r._v(" "),t("p",[r._v("▸ "),t("strong",[r._v("getPublicKeys")]),r._v("(): "),t("code",[r._v("Array")]),r._v("<"),t("code",[r._v("Uint8Array")]),r._v(">")]),r._v(" "),t("p",[t("em",[r._v("Defined in "),t("a",{attrs:{href:"https://github.com/polkadot-js/common/blob/db4b221/packages/keyring/src/types.ts#L73",target:"_blank",rel:"noopener noreferrer"}},[r._v("types.ts:73"),t("OutboundLink")],1)])]),r._v(" "),t("p",[t("strong",[r._v("Returns:")]),r._v(" "),t("code",[r._v("Array")]),r._v("<"),t("code",[r._v("Uint8Array")]),r._v(">")]),r._v(" "),t("hr"),r._v(" "),t("p",[t("a",{attrs:{id:"removepair"}})]),r._v(" "),t("h2",{attrs:{id:"removepair"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#removepair","aria-hidden":"true"}},[r._v("#")]),r._v(" removePair")]),r._v(" "),t("p",[r._v("▸ "),t("strong",[r._v("removePair")]),r._v("(address: "),t("em",[t("code",[r._v("string")]),r._v(" | "),t("code",[r._v("Uint8Array")])]),r._v("): "),t("code",[r._v("void")])]),r._v(" "),t("p",[t("em",[r._v("Defined in "),t("a",{attrs:{href:"https://github.com/polkadot-js/common/blob/db4b221/packages/keyring/src/types.ts#L74",target:"_blank",rel:"noopener noreferrer"}},[r._v("types.ts:74"),t("OutboundLink")],1)])]),r._v(" "),t("p",[t("strong",[r._v("Parameters:")])]),r._v(" "),t("table",[t("thead",[t("tr",[t("th",[r._v("Name")]),r._v(" "),t("th",[r._v("Type")])])]),r._v(" "),t("tbody",[t("tr",[t("td",[r._v("address")]),r._v(" "),t("td",[t("code",[r._v("string")]),r._v(" | "),t("code",[r._v("Uint8Array")])])])])]),r._v(" "),t("p",[t("strong",[r._v("Returns:")]),r._v(" "),t("code",[r._v("void")])]),r._v(" "),t("hr"),r._v(" "),t("p",[t("a",{attrs:{id:"setaddressprefix"}})]),r._v(" "),t("h2",{attrs:{id:"setaddressprefix"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#setaddressprefix","aria-hidden":"true"}},[r._v("#")]),r._v(" setAddressPrefix")]),r._v(" "),t("p",[r._v("▸ "),t("strong",[r._v("setAddressPrefix")]),r._v("(prefix: "),t("em",[t("router-link",{attrs:{to:"/keyring/modules/_address_types_.html#prefix"}},[r._v("Prefix")])],1),r._v("): "),t("code",[r._v("void")])]),r._v(" "),t("p",[t("em",[r._v("Defined in "),t("a",{attrs:{href:"https://github.com/polkadot-js/common/blob/db4b221/packages/keyring/src/types.ts#L64",target:"_blank",rel:"noopener noreferrer"}},[r._v("types.ts:64"),t("OutboundLink")],1)])]),r._v(" "),t("p",[t("strong",[r._v("Parameters:")])]),r._v(" "),t("table",[t("thead",[t("tr",[t("th",[r._v("Name")]),r._v(" "),t("th",[r._v("Type")])])]),r._v(" "),t("tbody",[t("tr",[t("td",[r._v("prefix")]),r._v(" "),t("td",[t("router-link",{attrs:{to:"/keyring/modules/_address_types_.html#prefix"}},[r._v("Prefix")])],1)])])]),r._v(" "),t("p",[t("strong",[r._v("Returns:")]),r._v(" "),t("code",[r._v("void")])]),r._v(" "),t("hr"),r._v(" "),t("p",[t("a",{attrs:{id:"tojson"}})]),r._v(" "),t("h2",{attrs:{id:"tojson"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#tojson","aria-hidden":"true"}},[r._v("#")]),r._v(" toJson")]),r._v(" "),t("p",[r._v("▸ "),t("strong",[r._v("toJson")]),r._v("(address: "),t("em",[t("code",[r._v("string")]),r._v(" | "),t("code",[r._v("Uint8Array")])]),r._v(", passphrase?: "),t("em",[t("code",[r._v("undefined")]),r._v(" | "),t("code",[r._v("string")])]),r._v("): "),t("router-link",{attrs:{to:"/keyring/modules/_types_.html#keyringpair_json"}},[r._v("KeyringPair$Json")])],1),r._v(" "),t("p",[t("em",[r._v("Defined in "),t("a",{attrs:{href:"https://github.com/polkadot-js/common/blob/db4b221/packages/keyring/src/types.ts#L75",target:"_blank",rel:"noopener noreferrer"}},[r._v("types.ts:75"),t("OutboundLink")],1)])]),r._v(" "),t("p",[t("strong",[r._v("Parameters:")])]),r._v(" "),t("table",[t("thead",[t("tr",[t("th",[r._v("Name")]),r._v(" "),t("th",[r._v("Type")])])]),r._v(" "),t("tbody",[t("tr",[t("td",[r._v("address")]),r._v(" "),t("td",[t("code",[r._v("string")]),r._v(" | "),t("code",[r._v("Uint8Array")])])]),r._v(" "),t("tr",[t("td",[t("code",[r._v("Optional")]),r._v(" passphrase")]),r._v(" "),t("td",[t("code",[r._v("undefined")]),r._v(" | "),t("code",[r._v("string")])])])])]),r._v(" "),t("p",[t("strong",[r._v("Returns:")]),r._v(" "),t("router-link",{attrs:{to:"/keyring/modules/_types_.html#keyringpair_json"}},[r._v("KeyringPair$Json")])],1),r._v(" "),t("hr")])},[],!1,null,null,null);e.default=_.exports}}]); |