_deriveaddress_.md 803 B
Newer Older
[@amaurymartiny/txwrapper](../README.md)[Globals](../globals.md)["deriveAddress"](_deriveaddress_.md)

# External module: "deriveAddress"

## Index

### Functions

* [deriveAddress](_deriveaddress_.md#deriveaddress)

## Functions

###  deriveAddress

**deriveAddress**(`publicKey`: string | Uint8Array, `ss58Format`: number): *string*

*Defined in [src/deriveAddress.ts:11](https://github.com/amaurymartiny/polkadotjs-wrapper/blob/4ad0632/src/deriveAddress.ts#L11)*

Derive an address from a cryptographic public key offline

**Parameters:**

Name | Type | Default | Description |
------ | ------ | ------ | ------ |
`publicKey` | string | Uint8Array | - | The public key to derive from |
`ss58Format` | number |  KUSAMA_SS58_FORMAT | The SS58 format to use  |

**Returns:** *string*