26 lines
642 B
Markdown
26 lines
642 B
Markdown
|
|
|
|
# Functions
|
|
|
|
<a id="tojson"></a>
|
|
|
|
## toJson
|
|
|
|
▸ **toJson**(type: *[KeyringPairType](_types_.md#keyringpairtype)*, __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/420f807/packages/keyring/src/pair/toJson.ts#L15)*
|
|
|
|
**Parameters:**
|
|
|
|
| Name | Type |
|
|
| ------ | ------ |
|
|
| type | [KeyringPairType](_types_.md#keyringpairtype) |
|
|
| __namedParameters | `object` |
|
|
| encoded | `Uint8Array` |
|
|
| isEncrypted | `boolean` |
|
|
|
|
**Returns:** [KeyringPair$Json](_types_.md#keyringpair_json)
|
|
|
|
___
|
|
|