Files
common/docs/keyring/modules/_pair_encode_.md
T
2018-11-13 11:47:30 +00:00

24 lines
448 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/8f6b01a/packages/keyring/src/pair/encode.ts#L10)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| secretKey | `Uint8Array` |
| `Optional` passphrase | `undefined` &#124; `string`|
**Returns:** `Uint8Array`
___