Files
common/docs/keyring/modules/_address_encode_.md
T
2018-10-19 15:38:45 +00:00

24 lines
475 B
Markdown

# Functions
<a id="encode"></a>
## encode
▸ **encode**(_key: * `Uint8Array` &#124; `string`*, prefix?: *`Prefix`*): `string`
*Defined in [address/encode.ts:15](https://github.com/polkadot-js/common/blob/1fb1f9d/packages/keyring/src/address/encode.ts#L15)*
**Parameters:**
| Param | Type | Default value |
| ------ | ------ | ------ |
| _key | `Uint8Array` &#124; `string`| - |
| `Default value` prefix | `Prefix` | defaults.prefix |
**Returns:** `string`
___