> ## Documentation Index
> Fetch the complete documentation index at: https://docs.qu.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# computeAddress

```ts theme={null}
function computeAddress(key): string
```

Returns the address for the `key`.

The key may be any standard form of public key or a private key.

## Parameters

| Parameter | Type                                                        | Description                         |
| :-------- | :---------------------------------------------------------- | :---------------------------------- |
| `key`     | `string` \| [`SigningKey`](/sdk/content/classes/SigningKey) | The key to compute the address for. |

## Returns

`string`

The address.

## Source

[address/address.ts:107](https://github.com/dominant-strategies/quais.js/blob/c1c12d43f9d34c6baad2b0542bd6d0acd6fefcbf/src/address/address.ts#L107)
