Files
common/docs/keyring/modules/_pair_encode_.md
T
2018-12-17 13:17:43 +00:00

24 lines
447 B
Markdown

# Functions
<a id="encode"></a>
## encode
▸ **encode**(secretKey: *`Uint8Array`*, passphrase?: * `undefined` &#124; `string`*): `Uint8Array`
*Defined in [pair/encode.ts:10](https://github.com/polkadot-js/common/blob/cd7f644/packages/keyring/src/pair/encode.ts#L10)*
**Parameters:**
| Name | Type |
| ------ | ------ |
| secretKey | `Uint8Array` |
| `Optional` passphrase | `undefined` &#124; `string`|
**Returns:** `Uint8Array`
___